Recent

Author Topic: Running LNet Components in a DLL  (Read 3420 times)

shodgman

  • Newbie
  • Posts: 1
Running LNet Components in a DLL
« on: April 07, 2009, 01:36:50 am »
G'day everyone,
I am attempting to create a DLL that uses a LNet TCP connection.
I have created the DLL and encapsulated the LTCP object in a TThread descendent class object. 
When I create the thread object, it creats the LTCP object and assigns the LTCP events.
The TCP object reports a connection, cycles the execute procedure a few times then seems to go quiet when it receives data.
I have put a status change in the receive event but I am not getting anything.
I have based the operation on the LNet example application for a console TCP connection.

Can anyone please offer any clues as how to get the LNet components running in a DLL?
Thanks,

 

TinyPortal © 2005-2018