Problem: I have to use 2 instances of application to support 2 modems but I have error in second instance, when trying to connect to second modem, the first instance works fine with first modem.
Program use WIN API calls to "LineOpen" function.
Scenario:
1. I start application,
2. Connect first modem
3. Connection succeed
4. Close application
5. Start application again
6. Connect to second modem
7. Connection succeed
8. Close application.
9. Start application.
10. Connect to first modem
11. Connection succeed
12. Start second instance of program,
13. Connect to second modem
14. Error in "LineOpen" function WIN API - "Cannot open phone line".
15. All this time first instance works fine and is able to receive calls.
Operation system: Windows XP Version 5.1 Build 2600
Modems use COM 3 and COM 4 ports.
Thank you in advance.
Program use WIN API calls to "LineOpen" function.
Scenario:
1. I start application,
2. Connect first modem
3. Connection succeed
4. Close application
5. Start application again
6. Connect to second modem
7. Connection succeed
8. Close application.
9. Start application.
10. Connect to first modem
11. Connection succeed
12. Start second instance of program,
13. Connect to second modem
14. Error in "LineOpen" function WIN API - "Cannot open phone line".
15. All this time first instance works fine and is able to receive calls.
Operation system: Windows XP Version 5.1 Build 2600
Modems use COM 3 and COM 4 ports.
Thank you in advance.