Using Indy 9 telnet client in a DLL

I am trying to use an Indy 9 Telnet Client (TidTelnet )in a DLL. I am
creating the object inside a "InitConnection" function exported by the DLL.
But I do not get any OnDatAvailable events.

InitConnection Psuedo Code

dmodTelnt := TdmodTelnet.Create(nil);
dmodTelnet.APIClient.host := 127.0.0.1;
dmodTelnet.APIClient.POrt := 4050;
dmodTelnet.APIClient.Connect;

I think it may be because the Telnet Client object is not hooked in the
application message pump because the data module is created with a "nil"
owner.

Any clues or ideas?

Richard Owen