melchiorre caruso wrote:
> 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

Ok, so your lib loads.

What does GetCurrentThreadID and MainThreadID give you from your lib and app 
and thread?

> > BTW, can you stop sending html messages?
>
> Sorry, it is right now?

Yes.


Thanks!

--
Al

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

Reply via email to