Original Post
I hope someone can help, i have been at this for too many hours to say.
I am writing a small track timer application for a Pocket PC using embedded VC++.
When i try to Send the time elapsed data to a Static Control, it appears as jibberish (square boxes mainly).
The code i use is
char time[10]; float t = timer.getTimeElapsed(); _gcvt(t, 10,time); SendMessage (hwndTimeC, WM_SETTEXT, 0, (LPARAM) time);I have tried this in a console app in VC6 and it is ok, so i am assuming it is the string conversion. Any advise would be much appriciated. Thanks.