i´ve written a program which collects and sorts data coming through a port.
the problem is that the data coming through is started by a # sign and i want my program to start reading when it encounters this sign or wait if it doesnt.
i know i can use "waitforsingleobject" but the problem is that i dont have a "handle" defined since i´m using a library called PComm.lib to make life easier. i have managed to tell the program to stop reading when it reaches a terminating character but cant get it to wait until it reaches the start character.
any help appreciated.
im using VC6 with windows XP
thanks