[Lazarus] "Active NoGui" LCL Widget Type
Michael Schnell
mschnell at lumino.de
Fri Jul 11 16:18:25 CEST 2014
On 07/10/2014 09:58 PM, Sven Barth wrote:
>
> You should not need to use the thread manager. All functions (except
> the semaphore ones which are only implemented for cthreads) should be
> available by RTL functions. So don't use GetThreadManager if you don't
> need to.
For a primary test I did e.g.:
if GetThreadManager(CurrentThreadManager) then begin
CurrentBasicEventCreateHandler:=CurrentThreadManager.BasicEventCreate;
end;
if Assigned(CurrentBasicEventCreateHandler) then begin
CurrentBasicEventCreateHandler(EventPointer, False, False,
'TestEvent'); /nonsense call to a "BasicEventCreateHandler"
function
end;
Could you show me how to do an arch/OS independent call to the function
that at runtime is pointed to by "CurrentBasicEventCreateHandler".
Thanks,
-Michael
More information about the Lazarus
mailing list