[Lazarus] RE : gtk2 liboverlay Ubuntu Unity

Ludo Brands ludo.brands at free.fr
Tue Jun 26 18:00:27 CEST 2012


> Just export a function from lcl and catch that - 
> like catching 'qt_startup_hook' in the above code.

That code has inspired me for the following hack:
In the project.lpr add the following code:
>>>
Procedure qt_startup_hook;export;
Begin
End;

Exports qt_startup_hook;
<<<


This is enough to black-list your app. I'm not aware of any side effects
exporting this symbol would have.

Ludo








More information about the Lazarus mailing list