Lazarus-Option "-pg" is not, or not yet? lazarus / 34-Windows ---------------------------------------------------------------------- d2010 · 2022-06-06 07:15 Hello.. Fatal: Option "-pg" is not, or not yet, supported on the current target platform You please help me? ---------------------------------------------------------------------- MarkMLl · 2022-06-06 07:28 That's a compiler option, nothing to do with Lazarus as such. What sort of problem are you having? It's usually good practice to post example code, or at least in your case an example command line plus a description of what you're seeing and how it fails to match expectations. MarkMLl ---------------------------------------------------------------------- d2010 · 2022-06-06 07:34 Quote from: MarkMLl on June 06, 2022, 09:28:08 amThat's a compiler option, nothing to do with Lazarus as such. What sort of problem are you having? MarkMLl I do not found devlaza.exe on disk? Can I search again . the result of devlaza.lpi to devlaza.exe? ---------------------------------------------------------------------- tetrastes · 2022-06-06 07:38 I suppose your target is Windows 64 bit? This option is only for 32 bit: ---------------------------------------------------------------------- 440bx · 2022-06-06 08:08 @d2010 I see your code is using SetWindowLong and SetWindowLongPtr protected by an $ifdef.  You might be interested in knowing that the FPC API definitions for Windows declare SetWindowLongPtr for 32bit, mapping it to SetWindowLong, which means, you can simply code a call to SetWindowLongPtr without any $ifdef.    IOW, SetWindowLongPtr works in both 32bit and 64bit (with FPC.) ---------------------------------------------------------------------- d2010 · 2022-06-06 08:56 Thank,,you... Yes that is solution. Code: [Select]You got ProjectOptions->compiler Options Debugging>Other Debugger Option I reboot my Pc on other Operatingsystem , and I Fixed. The OldWinOs was Win7x64... and ---Now I boot on "Win10x32+Lazarus2.2x32" ---------------------------------------------------------------------- d2010 · 2022-06-14 10:55 Quote from: MarkMLl on June 06, 2022, 09:28:08 amThat's a compiler option, nothing to do with Lazarus as such. What sort of problem are you having? It's usually good practice to post example code, or at least in your case an example command line plus a description of what you're seeing and how it fails to match expectations. MarkMLl Do you work, today on computer "MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb."?> ---------------------------------------------------------------------- MarkMLl · 2022-06-14 11:12 Quote from: d2010 on June 14, 2022, 12:55:16 pmDo you work, today on computer "MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb."?> Tinker with it on occasion, although I now have more memory available. Why? MarkMLl