Paulo
11-25-2002, 02:01 PM
Hello everybody.
I need to gain RAW access to the infrared port of the
Cassiopeia E-125 but DISABLING IRDA.
"Digging" in the PC's registry, I guess that the COM port
is 3. May be I'm wrong...
The code below didn't work properly:
port = ::CreateFile(L"COM3:",
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
0,
NULL)
::EscapeCommFunction(port, SETIR);
.....
Could someone help me to find out what is wrong?
Thanks in advance,
Paulo
I need to gain RAW access to the infrared port of the
Cassiopeia E-125 but DISABLING IRDA.
"Digging" in the PC's registry, I guess that the COM port
is 3. May be I'm wrong...
The code below didn't work properly:
port = ::CreateFile(L"COM3:",
GENERIC_READ | GENERIC_WRITE,
0,
NULL,
OPEN_EXISTING,
0,
NULL)
::EscapeCommFunction(port, SETIR);
.....
Could someone help me to find out what is wrong?
Thanks in advance,
Paulo