I have 3 units: classPOP3.pas, classSMTP.pas, shareSocket.pas.
shareSocket.pas contain a worker thread used by classPOP3 and
classSMTP.
I'm planning to place classPOP3 and classSMTP into different dll
files.
what will happened to the shared thread? is it going to be created twice?
( it is created in the initialization section of shareSocket.pas )

I'm used to place shared objects in different units in the interface
section.

I'm thinking about saving shareSocket into another dll, so POP3.dll
and SMTP.dll can call LoadLibrary on it.
------------
FIreHAzaR:-D
West Java, Indonesia

Reply via email to