Upgrade to Lazarus 1.6.2, please. Lazarus 1.0.12 is ancient and unsupported.
Quote from: Cyrax on December 31, 2016, 12:21:37 amUpgrade to Lazarus 1.6.2, please. Lazarus 1.0.12 is ancient and unsupported.I upgraded Lazarus to version 1.6.2 (on my 2nd computer with Windows 10). I created new project, put SynTaskDialog demo code, rebuilt and ran it. The results are similar to these from ver. 1.0.12. Please look at image attachment:
Quote from: Matek on December 31, 2016, 02:39:40 pmQuote from: Cyrax on December 31, 2016, 12:21:37 amUpgrade to Lazarus 1.6.2, please. Lazarus 1.0.12 is ancient and unsupported.I upgraded Lazarus to version 1.6.2 (on my 2nd computer with Windows 10). I created new project, put SynTaskDialog demo code, rebuilt and ran it. The results are similar to these from ver. 1.0.12. Please look at image attachment:please attach the project.
1. in https://github.com/Matek0611/Do-udostepnienia/blob/master/stdlg/SynTaskDialog.pas#L315 , for anything other than Delphi 2009 and above TTaskDialog is defined as an object other than a record, change the line above to define TTaskDialog a record for FPC and try again.
Quote from: Xor-el on December 31, 2016, 04:37:31 pm1. in https://github.com/Matek0611/Do-udostepnienia/blob/master/stdlg/SynTaskDialog.pas#L315 , for anything other than Delphi 2009 and above TTaskDialog is defined as an object other than a record, change the line above to define TTaskDialog a record for FPC and try again.I changed this line and results was the same (I've been rebuilding project several times).
OK,comment out line 1081 in https://github.com/Matek0611/Do-udostepnienia/blob/master/stdlg/SynTaskDialog.pasFillChar some how corrupt the record because not all values in it are value types (PWideChar).
the original demo project you previously uploaded works fine for me after I implemented the change I told you in the previous post.from what I can see in the image, this error occurs in another project not the one you previously uploaded.So I have a few questions to ask?1. does the first project you uploaded work fine after implementing the changes I suggested?2. which OS are you on?
unfortunately I am unable to reproduce any of the errors you are getting.I am using Windows 10 and Lazarus 1.6 with FPC 3.0.which version of FPC are you using?Is there any more info you can give that I can use to reproduce the error?and could you reupload the demo which you have made the corrections I suggested that gives you the error?