• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

Exception when there is no modems in PC

Started by engkfke, March 22, 2011, 10:22:15 am

Previous topic - Next topic

engkfke

Hello,,
I'm using nrComm in my application and when there is no modem in The PC the application throw exception and then terminated.

what can i do to avoid this problem ?

Roman Novgorodov

Hello

I don't understand what exception do you see.

Possible you set nrCommTAPI.DeviceIndex in incorrect value.

You can try to set nrCommTAPI.DeviceIndex := -1; in design time and select modem at runtime.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

engkfke


Hello Roman,

Simply i created a new borland C++ project and i added only the nrComTapi component and set the DeviceIndex equal to -1 . then i added  the nrDeviceBox component and set the property  (nrcomm = nrcomTapi ) .

When i run this simple application in any PC which has no Modems it gave me only (Abstract Error : ) Message.

Can you remove all modems driver definition in your device and make this simple experiment and inform me about your result ?

Thanx in advance.


Roman Novgorodov

Hello

What nrComm version do you use?
What CBuilder version do you use?

Abstract error was in very old versions.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

engkfke

yes i worked on old version of the nrcomm i bought it form more than 3 years.
Send Me the Link of the Last updated version of it.