Link to home
Start Free TrialLog in
Avatar of ist
ist

asked on

WIN32 API C++ Modem Application

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.
ASKER CERTIFIED SOLUTION
Avatar of md041797
md041797

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of md041797
md041797

If my answer is insufficient, you should give me an F so your question will go back the queue to be answered by others.