Recent

Author Topic: Problem with SynTaskDialog  (Read 9461 times)

Xor-el

  • Sr. Member
  • ****
  • Posts: 404
Re: Problem with SynTaskDialog
« Reply #15 on: January 01, 2017, 02:43:23 pm »
I have uploaded my compiled executable

https://www.datafilehost.com/d/7c2b764e

Xor-el

  • Sr. Member
  • ****
  • Posts: 404
Re: Problem with SynTaskDialog
« Reply #16 on: January 01, 2017, 02:52:24 pm »
I just figured out something now,
it seems the code "SynTaskDialog.pas" is not 64bit safe in FPC.
if you build for 32bit it works fine, but for 64bits, we get errors.
it seems you are using the 64bit version of Lazarus/FPC that is why it by default compiles a 64bit executable for you?
« Last Edit: January 01, 2017, 03:07:55 pm by Xor-el »

Matek

  • New Member
  • *
  • Posts: 15
Re: Problem with SynTaskDialog
« Reply #17 on: January 01, 2017, 03:54:39 pm »
I just figured out something now,
it seems the code "SynTaskDialog.pas" is not 64bit safe in FPC.
if you build for 32bit it works fine, but for 64bits, we get errors.
it seems you are using the 64bit version of Lazarus/FPC that is why it by default compiles a 64bit executable for you?


I ran your compiled exe and I saw it works, but SynTaskDialog form wasn't themed (not like system dialog theme).
Yes, I've got 64bit system and Lazarus/fpc. How can I fix it? Do I change compiling parameters to 32bits?
Lazarus 2.0.8, Windows 10 Pro
Lazarus 2.2.0, Windows 11 Home

ShowMessage('Zażółć gęślą jaźń');

Xor-el

  • Sr. Member
  • ****
  • Posts: 404

Matek

  • New Member
  • *
  • Posts: 15
Lazarus 2.0.8, Windows 10 Pro
Lazarus 2.2.0, Windows 11 Home

ShowMessage('Zażółć gęślą jaźń');


 

TinyPortal © 2005-2018