On Sat, Aug 15, 2009 at 2:56 PM, glogic20<[email protected]> wrote:
> this->hSerial = CreateFile("/dev/COM3",

/dev/COM3? That looks like a Linux path, not a Windows one.

Have you tried simply

this->hSerial = CreateFile("COM3", ....

i.e. no path with it?

What value does this->hSerial have after the call? If it's
INVALID_HANDLE_VALUE, what does GetLastError() give you?

-- 
PJH

http://shabbleland.myminicity.com/com
http://www.chavgangs.com/register.php?referer=9375

Reply via email to