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.

GPS4PPC in opticomp

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-06-2008, 07:20 PM
Knows the basics
 
Join Date: May 2007
Posts: 95
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, 09:02 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 07:51 PM
Knows the basics
 
Join Date: May 2007
Posts: 95
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gps4ppc Erel Open Source Projects 67 02-23-2010 03:59 PM


All times are GMT. The time now is 01:05 AM.


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