Problem with TidTelnet used in DLL

Giganews Newsgroups
Subject: Problem with TidTelnet used in DLL
Posted by:  John Leavey (johnl@[no_spam].compufile.co.uk)
Date: Tue, 20 Apr 2004

I have a module that makes a telnet connection (using a TidTelnet
component), issues a command to the server and receives data back for
processing.

The module works fine when it's used as part of a normal EXE project.

However, if I use the same module in a DLL it doesn't work -
specifically it appears that the OnDataAvailable event is never fired.

Does anyone have any idea what the problem might be and how to overcome
it ?

Thanks

John Leavey

Replies