Re:Compile Problem

Discussion in 'Questions (Windows Mobile)' started by wm.chatman, Apr 8, 2009.

  1. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi folks

    With a Gps App I have a Compile Problem.
    Compile for MDA/PPC gives a Error Msg. Please check out Attachment.
    Which Serial.dll is needed here?

    Could not add Attachment. But...

    Error Compiling program
    Error Msg: error CS0246: The type of namespace name Serial could not be found. (are you missing a using directive or an assembly reference?)

    Happy Holidays! :sign0089: to all

    best Regards,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC: MDA Pro/WM5
    OS: 5.1.195
    Prozessor: PXA-520 Mhz
    Display: 480x640 TFT
    Bayern/Germany
     
    Last edited: Apr 8, 2009
  2. agraham

    agraham Expert Licensed User

    Looks like you may not have added Serial2.dll as a component for the device. You will need Serial2 as an optimised compiled app is a .NET 2.0 app and the old Serial.dll won't work properly.

    However as I think that MDA is actually made by HTC if it has a built-in GPS it is possible that Serial2 won't work either as there is a compatibility problem between some HTC devices and the .NET Serial Port (which is what Serial2 is). In this case, as long as you have WM5.0 or later on the device, you need to use the GPSDriver.dll instead of the GPS.dll & Serial2.dll combination.
     
  3. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi Mr. Agraham

    I will ckeck this out. And, NO built-in GPS.(EX only) OS is WM5.
    Do I need to remove the other Objects first, and then add the new ones?

    Happy Holidays!

    best Regards to all,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC: MDA Pro/WM5
    OS: 5.1.195
    Prozessor: PXA-520 Mhz
    Display: 480x640 TFT
    Bayern/Germany
     
  4. agraham

    agraham Expert Licensed User

    Yes.
     
  5. wm.chatman

    wm.chatman Well-Known Member Licensed User

    EDIT: Components are now GPS.dll/DBCom.dll/Serial2.dll.
    All seems well!

    :)Thanks Sir,

    Happy Holidays!

    best Regards to all,

    WmC

    PC: Laptop CoreDUo, Windows XP SP2 E
    PPC: MDA Pro/WM5
    OS: 5.1.195
    Prozessor: PXA-520 Mhz
    Display: 480x640 TFT
    Bayern/Germany
     
    Last edited: Apr 8, 2009
  6. agraham

    agraham Expert Licensed User

    You don't need DBComm.dll. It was only needed with SerialDesktop.dll and then didn't need to be added as a component.
     
  7. wm.chatman

    wm.chatman Well-Known Member Licensed User

    EDIT: trascht DBComm.dll. testet on MDA all works well.
    great assistance!

    PS. how your Goldfish?

    WmC
     
  8. agraham

    agraham Expert Licensed User

    We bought another twelve little ones and now have a rather ugly :(, but effective so far :), metal grid over the pond.
     
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