tclientsock

Delphi DLL - TClientSocket events.

I have a DLL with a TClientSocket component, it is used to talk to a Telephone System Machine. The DLL only have PChar parameters in the exports methods, and is not using packages. When I load the DLL with Delphi app, all the events works fine, no problem so far. My customer is calling this DLL from a console Win32 Cobol program, and t...

getting asynchronous socket error 10049 even if i use try..except

when ever i run my program(outside the debugger/ide) i get error asynchronous socket error 10049, am i not supposed to recieve a message dialoge : ''error''? see my code below begin try ClientSocket1.open; except showmessage('error'); end; end; what am i doing wrong? ...