Hi Andreas, > > I fiddled around a bit and was able to made a patch for initial win32 > support for serial EtrexLegend. > > It is based on Krzysztofs patch since that made it easier. > It is against old qlandkarte svn, since building and testing was easier > this way. It also contains an intermediate fix for possible buffer overflow > when receiving NMEA data. I build with mingw tools.
GT does not have any plugin loader for win32 anyway. That is still a todo. > Since -DUNICODE is set, CreateFile() wants the device as WCHAR*. I just > #undef-ed it for WIN32 for know. Is there a better solution? > > @Frank, Krzysztof, Oliver: > Do you have any objections? I have applied the patch, compiled and committed. Think I'll do a final release the next weeks. After all QLandkarte renders fast. If you have memory! > > Some pitfalls remain in the driver code of serial devices: > 1) disconnecting the cable while receiving waypoints/tracks might put > qlandkarte into endless loop. Well, I know how to fix that. Pull the power plug of the PC, too. Think that is perfectly appropiate in this case. Oliver ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QLandkarte-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkarte-users
