![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
You may know about it but I just found this - it explains about the WM5 GPS splitter that I mentioned in reply #25 in this thread.
http://blogs.msdn.com/windowsmobile/...07/620387.aspx Assuming that it exists in WM6 you could invoke this in built-in splitter to pass the GPS (COM4 I believe) to an unused COM, say COM6 and try with the serial2 libary. If this doesn't work then try adding the JAL Post Splitter inputting from COM6 and outputting to COM7. Clutching at at straws I know but maybe worth a try. |
|
|||
|
Now, I have tried every possible combination I could imagine of portsettings in WM6 with and without the portsplitter.
If I do it correct with the portsplitter then the "outofmemoryexception" does not appear, but I do not get any gps-data(serial.inbuffercount). Other progs that use .Net 2.0 work. So I think there is something going wrong in Basic4ppc and its libaries. I will test on other devices as soon as I can (maybe it is only on devices with buildIn gps). But now I have to stop programming. This took me too many hours and I have do a job for money as well. Hopefully there will be an answer for this in near future. Thanks a lot for your help. |
|
|||
|
Hi Erel,
the prog you wrote with Visual Studio 2005 did not show any data in the textbox, but it seems to connect to the Serial. And I tested a little bit on a friends device with WM6 and buildIn-GPS, but there were no problems at all. So, I`m sorry that I suggested an error in B4ppc-libaries. It really seems like a bigger problem with my device. I think the manufacturer won`t be intrested in my problem, even if every HTC P3300 has it. ![]() I don`t know enough about the deeper backgroud how this "serial/gps and program talking to each other" works. Now I`m a bit disappointed that I can`t find a solution. |
|
|||
|
I got it running!
![]() I read something about GpsGate and just thought its worth a try. Somehow this program can pass the gps-data to b4ppc-apps. I still haven`t got an idea why this is so strange, but I can go on with my work, even if it costs 25 Euro now. Thanks a lot for your help Erel and Agraham. Maybe some day we will find the failure. (Or not) |
|
|||
|
GpsGate
is an app that is very similar to portsplitter, but it seems to have more oppertunities . It catches the GPS-receiver and gives a virtual-com-port or another format which you desire. I didn`t check out everything. It just works. ![]() |
|
||||
|
What a relief! I am really pleased that you found a solution that works for you.
From all the Googling around I did it seems there is definitely a .NET 2.0 SerialPort class issue with the built-in GPS on the P3300 as other .NET based apps have the same problem. I found one person who had contacted HTC and was told that they would only provide support for TomTom so he was on his own with third-party GPS apps. |
|
||||
|
I had the same problem with my SPV M650 (HTC P3300 sold by Orange) under WM5. I fixed the problem by installing GPSGATE.
One thing to know: My SPV M650 was sold with a USIM (128Mo) and I add a SD card (1Go). You must install GPSGATE in the main memory or in the USIM. If you install GPSGATE in the SD card you will not be able to set the COM port. I think that some other software have the same problem (VitesseLimite for example). |
|
|||
|
Hi,
I have the same problem on an O2 XDA Orbit (HTC Artemis). I installed GPSGate and can run Erel's VisualStudio-sample program ("DeviceApplication3.exe") with no problems (on a virtual COM-port that I defined with GPSGate). I installed Erel's complexGPS-sample from a setup file I found somewhere here on the forum and it also runs fine. Now here is the problem: I got the sources of the complexGPS-sample, compiled it myself with B4PPC V6.30 (not optimized; optimized compile doesn't work due to a "Registry Desktop" error) and it shows the same error as before: out-of-memory-exception! Now that is strange. I have attached the zip-file with the sample which doesn't work. Any idea anyone? Thanks, Frank
__________________
---------------------------- Frank (with XDA Orbit) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|