Hi everybody,
I have a question about to Thread and DLL library.
Is it possible to create a function that has as result
a thread, and insert it into a dll?

example:

library getthread

...

function CreateMyThread: TThread;
begin
 Result := TMyThread.Create;
end;

...

exports  CreateMyThread

...

I have tried but the thread doesen't work.


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to