Hello everyone, I've seen that there are some posts talking about the WaitCommEvent(..), but I have a few different issue;
Using the OpenNETCF.IO.Serial on two devices with integrated GPS antenna, everything works fine but, exiting my application, the program locks on the WaitCommEvent handler:
override internal
bool WaitCommEvent(IntPtr hPort,
ref CommEventFlags flags)
{
return Convert.ToBoolean(CEWaitCommEvent(hPort, ref flags, IntPtr.Zero));
}
and the application can't exit correctly,even calling the stop() method of the GPS class instance.
Here(http://img84.imageshack.us/img84/7267/waitcommeventlj8.png) you can find the screenshot of VisualStudio in debug mode;
Do you have any suggestions?
Thanks a lot
Francesco