Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


GPS4PPC in opticomp


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2008, 06:20 PM
Knows the basics
 
Join Date: May 2007
Posts: 85
Default GPS4PPC in opticomp

hi Erel,

to make things simpeler for me, I opti-compile your code GPS4PPC in net2.
get the message 'InvalidCastException in Sub GPS_GPSDecoded'.
What will it say, what do you think I must change in that Sub?

Put Claude Belgium
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 08:02 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,806
Default

I've updated the GPS4PPC source file and it now works properly.
The problem was that the struct named 'll' was not declared as a double variable and was later assigned a double array:
Code:
ll() = Converter.ChangeDatum(...)
The solution is to change the declaration to:
Code:
Dim Type(Lat,Lon) ll As Double
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 06:51 PM
Knows the basics
 
Join Date: May 2007
Posts: 85
Default

Hi Erel,

GPS4PPC is working good now in the opti-compile mode.
Thanks,

Put Claude Belgium
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gps4ppc Erel Open Source Projects 39 06-19-2008 12:53 PM


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


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0