CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BCB1] Problem with DWORD
Hello everybody,
I'm using a function that has this type:
BOOL function1( HANDLE Comport, int Number, DWORD * ErrorCode ) ;
This function return as value TRUE if command succesful and FALSE if not.
ErrorCode is 4 Bytes indicating the exit status of the executed command.
For example:
0x01009000 indicate No problem
0x01001111 indicate Not connected
0x01003333 indicate No power
My question is how can I see the ErrorCode using ShowMessage, A TLabel or
whatever.
Please, help me.
Thanks in advance,
Pierre-Henry
STUDENT
Pierre-Henry Deliège
REALITY MEDIA sprl Email : ph@reality.be
W Komornicki's Home Page |
Main Index |
Thread Index