I'm using
int OpenComConfig (int COMPort, char deviceName[], long
baudRate, int parity, int dataBits, int stopBits, int inputQueueSize, int
outputQueueSize)
and have a status always returned even if the port does not exists.
May helps if you show us the part of the code where it sucks.
Regards,