WIN32 API C++ Modem Application
Posted on 1997-07-12
I need to write a Visual C++ Console app to connect to another app using a moden to pass data (95 and NT4.0). I have extensive experience in using the comm ports. What would be the best (simplest)method. Should I just manualy control the modem or should I try using the TAPI. If I dont use the TAPI there appears to be some API functions that will handle alot of the modem communication issues such as GetCommProperties and GetCommConfig. However, I can not figure out how to open a communication resource other that COM1 or COM2 using the CreateFile() function. What name do I use in the call to CreateFile() in order to open a modem communication resource such that the provider sub type field in the COMMPROP or COMMCONFIG structures is PST_MODEM.