Re:Compile Problem

wm.chatman

Well-Known Member
Licensed User
Longtime 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:

agraham

Expert
Licensed User
Longtime 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.
 

wm.chatman

Well-Known Member
Licensed User
Longtime 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
 

wm.chatman

Well-Known Member
Licensed User
Longtime 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:

wm.chatman

Well-Known Member
Licensed User
Longtime User
EDIT: trascht DBComm.dll. testet on MDA all works well.
great assistance!

PS. how your Goldfish?

WmC
 
Top