Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Re:Compile Problem

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-08-2009, 01:20 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default Re:Compile Problem

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! 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 by wm.chatman : 04-08-2009 at 01:35 PM. Reason: add Attachment
Reply With Quote
  #2 (permalink)  
Old 04-08-2009, 01:49 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

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.
Reply With Quote
  #3 (permalink)  
Old 04-08-2009, 02:27 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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
Reply With Quote
  #4 (permalink)  
Old 04-08-2009, 03:01 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by wm.chatman View Post
Do I need to remove the other Objects first, and then add the new ones?
Yes.
Reply With Quote
  #5 (permalink)  
Old 04-08-2009, 03:12 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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 by wm.chatman : 04-08-2009 at 03:13 PM. Reason: darn spelling
Reply With Quote
  #6 (permalink)  
Old 04-08-2009, 03:21 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by wm.chatman View Post
EDIT: Components are now GPS.dll/DBCom.dll/Serial2.dll.
You don't need DBComm.dll. It was only needed with SerialDesktop.dll and then didn't need to be added as a component.
Reply With Quote
  #7 (permalink)  
Old 04-08-2009, 03:40 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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

PS. how your Goldfish?

WmC
Reply With Quote
  #8 (permalink)  
Old 04-08-2009, 04:24 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by wm.chatman View Post
PS. how your Goldfish?
We bought another twelve little ones and now have a rather ugly , but effective so far , metal grid over the pond.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seems I can't compile brunoisa0 Questions (Windows Mobile) 6 03-12-2009 01:46 AM
Optimized Compile Problem with Control epsharp Questions (Windows Mobile) 6 02-09-2009 05:08 PM
Control.Visible problem in optimise compile agraham Bug Reports 1 01-14-2008 06:54 PM
Problem compile SQLlite manu Questions (Windows Mobile) 12 08-02-2007 08:26 AM
How can I compile Nkieto Questions (Windows Mobile) 3 05-01-2007 04:53 AM


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0