Using the DesktopOnly.dll

Discussion in 'Questions (Windows Mobile)' started by specci48, Jul 24, 2008.

  1. specci48

    specci48 Well-Known Member Licensed User

    Hi there,

    I am already using a program on the desktop and on the device.
    Now I've added a print facility on the desktop. As the help file explains, I added the DesktopOnly.dll only to the desktop and the printing code can only be accessed if cPPC = false.
    The compile for the desktop works fine but if I wan't to compile it for the device I'll get an error CS0246.

    Where do I get wrong :confused:
    Or do I have to use two separate source files now...


    specci48
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    I've attached a small "dummy" library that you can use.
    Unzip the attached file and copy both libraries to Basic4ppc libraries folder:
    C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries

    Add a reference to DesktopOnlyDevice.dll in your project.
     

    Attached Files:

  3. specci48

    specci48 Well-Known Member Licensed User

    Thank you Erel for this quick solution! Works like a charm :sign0060:


    specci48
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice