Recent

Author Topic: Deskband  (Read 3584 times)

RolfW

  • New Member
  • *
  • Posts: 10
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: 867
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) And Windows XP Pro (x86 Sp3) - LAZARUS 2.0.8 FPC 3.0.4 - TRUNK 2.1.0 FPC 3.3.1
// This is polarity (hell) and hell is reigned by lies, nothing but lies. Be careful what you believe ...
// There are 10 types of people in this world, those who understand mind control and ...

RolfW

  • New Member
  • *
  • Posts: 10
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: 3704
  • Leandro Diaz
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: 10
Re: Deskband
« Reply #4 on: December 31, 2016, 02:54:10 pm »
Yes, both is x64.
Rolf

RolfW

  • New Member
  • *
  • Posts: 10
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