SideShowBob
10-05-2007, 03:32 PM
Hi I am working on an application in C# using the Mappoint 2006 active X component. Each time my application start (or even mappoint) it take a long time because of the gps scan. Is there any solution to take out this scan when the mappoint dll is loaded?
Thanks in advance.
David
Wilfried
10-06-2007, 02:15 PM
hi,
I never tryd to scan GPS. mappoint does load very rapidely. what do you do to let mappoint scan GPS ?
SideShowBob
10-09-2007, 09:02 AM
Hi thanks for your answer. But, well in fact, I do not let mappoint scan for gps. It seems to be automatic. And I think I understand now what happen. When the dll is loaded it look for all serial port for gps. It's fast and automatic... you will never notice. But for me I have a virtual serial port and a pop up appear each time the port is accessed... I think I noticed this, because of my virtual serial port pop up...
Wilfried
10-16-2007, 08:25 AM
Hi,
Hmm this is annoying. but you can do an experiment if this is indeed the case. First of all open all serial ports on your machine with several instances of hyperterminal. So every port open and cannot be opened by mappoint.
then start mappoint. if it load fast now then you are sure of that.
as a workaround you could in your application open all serial ports also and after mappoint is loaded in memory you just close them again. or you can detect which serial port is the offending one and only open this one.
also possible that you have a device connected to some of the ports where mappoint thinks it is a gps receiver. For example you have same problem when starting up a PC and there is serial data from some inteligent device where windows thinks it is a mouse :( very annoying :(