Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I m actually new to windows api programming. i m trying to decode an ansci data from a gps device using window api function. i was able to open and read the serial port using readfile(). but when i try to decode the data from the serial port. i found out that the data was store in a string rather than array. is there any function i could use to covert the string data into array in window api?

thanks for the help in advance.
Posted
Updated 12-Nov-10 21:28pm
v3

1 solution

Looks like you are new to computer programming as your question has very little to do with Windows (or WinCE) APIs.

Most of your present and future questions are addressed here[^].

Good luck,
AR
 
Share this answer
 
Comments
kevinang 13-Nov-10 7:02am    
thanks AR. i have an addition question as if i did not use MFC to decode the data is it possible? thanks
Alain Rist 13-Nov-10 7:23am    
There is no need to 'decode' NMEA data, as they are already ASCII characters. First study the article, then change some parts (for instance replace MFC CString by standard C++ std::string). And ahead :)
kevinang 13-Nov-10 7:33am    
Oh okie.. thanks AR.. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900