Al Boldi wrote:
melchiorre caruso wrote:
procedure TTestLibrary.TestBtnClick(Sender: TObject);
LibHandle := LoadLibrary('thread2lib.dll');
CreateMyThreadFunc := GetProcedureAddress(LibHandle,'CreateMyThread');
Make sure your library actually loads...
if I use in execute method the source
"if Assigned (FMethod) then
FMethod;"
instead of
"if Assigned (FMethod) then
Synchronize(FMethod);"
the method fMethod is called but not synchronized. Then the application
closes
if Assigned(CreateMyThreadFunc) then
... otherwise it won't enter this.
BTW, can you stop sending html messages?
Sorry, it is right now?
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives