>Greetings George
>
>>
>>Let me check my code at home. If WriteFile() is returning 1 then it's succeeding. If I understood your previous post correctly, then the problem with opening the port isn't a problem.
>
>okydoke
>
>
>>
>>BTW, you asked about the #DEFINE statements earlier. These are defined constants. Their purpose is to make the code more readable. GENERIC_READ is a lot easier to understand than 0x80000000.
>
>why is it they don't show up in the debugger under their variable name?
>
>Harry
They're declared constants. The debugger won't show them. If you need to see the actual value, you can assign the constant to a variable. Then you can see the value of the variable and it will be the same as the constant.
George
Ubi caritas et amor, deus ibi est