changed the functions
ReadBuffer (wchar_t *str, HANDLE hCom)
to
ReadBuffer (char *str, HANDLE hCom)
earlier I was having problems and i changed everything to wchar in an effort to
solve the problems. all the documentation I read was telling me I had to change
all my code to be unicode...
this is my recieving function
int ReadBuffer (wchar_t *str, HANDLE hCom)
{
int ReceiveInterval=1;
unsigned long AvailableBytes;
unsigned long ReadBytes = 0;
Sleep(ReceiveInterval);
AvailableBytes=GetInQue (hCom);
if(AvailableBytes > 0)
{
if (ReadFile(hCom, str...
hello every one
I used to visit the tek tips forum regularly but got distracted for a while.
I have since picked up were i left off. I very quickly discovered that my
builder software would not work on windows 7 so I went to the builder site to
look for a compatible upgrade. I have the trial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.