Lazarus

Programming => Operating Systems => Windows => Topic started by: RolfW on December 30, 2016, 06:06:26 pm

Title: Deskband
Post by: RolfW on December 30, 2016, 06:06:26 pm
Hello,
does anyone have some experiance in creating a deskband with LCL?
I've a working example for Delphi but it crashes if I compile the same code with Lazarus. More in detail: It's a form within a dll and explorer crashes during creation of the form.
Title: Re: Deskband
Post by: RAW on December 30, 2016, 09:42:29 pm
What about {$MODE DELPHI}...  Did you try that?
Title: Re: Deskband
Post by: RolfW on December 31, 2016, 02:42:50 pm
Just tested. No success. It's the same behaviour.
Rolf
Title: Re: Deskband
Post by: lainz on December 31, 2016, 02:52:28 pm
You compiled it with the correct bitness? 64 bit for 64 bit Windows and 32 bit for 32 bit Windows.
Title: Re: Deskband
Post by: RolfW on December 31, 2016, 02:54:10 pm
Yes, both is x64.
Rolf
Title: Re: Deskband
Post by: RolfW on July 15, 2017, 08:51:42 am
Maybe someone is still interested: Meanwhile I've a solution for the FPC/Lazarus version of this Deskband.
The point is to call Application.Initialize before creating (CreateParented) the form.
Rolf
TinyPortal © 2005-2018