Recent

Author Topic: Deskband  (Read 4656 times)

RolfW

  • New Member
  • *
  • Posts: 21
Deskband
« 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.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Deskband
« Reply #1 on: December 30, 2016, 09:42:29 pm »
What about {$MODE DELPHI}...  Did you try that?
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

RolfW

  • New Member
  • *
  • Posts: 21
Re: Deskband
« Reply #2 on: December 31, 2016, 02:42:50 pm »
Just tested. No success. It's the same behaviour.
Rolf

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Deskband
« Reply #3 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.

RolfW

  • New Member
  • *
  • Posts: 21
Re: Deskband
« Reply #4 on: December 31, 2016, 02:54:10 pm »
Yes, both is x64.
Rolf

RolfW

  • New Member
  • *
  • Posts: 21
Re: Deskband
« Reply #5 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