M
marko
I trying to check if my modem is turned ON before calling...
So, I write the following statements:
uint s = 0;
if(hComm!=INVALID_HANDLE_VALUE){
GetCommModemStatus(hComm,ref s);
if((s & MS_DSR_ON) == 0)
return -1;
}
My modem is turned OFF but the uint s variable get 0x30 value! Why this?
How can I check this status?
I test my application with PocketPc Emulator of Visual Studio.
thanks
mkz
So, I write the following statements:
uint s = 0;
if(hComm!=INVALID_HANDLE_VALUE){
GetCommModemStatus(hComm,ref s);
if((s & MS_DSR_ON) == 0)
return -1;
}
My modem is turned OFF but the uint s variable get 0x30 value! Why this?
How can I check this status?
I test my application with PocketPc Emulator of Visual Studio.
thanks
mkz