[Lazarus] PrinterSetupDialog1.Execute won't work.
Patrick Chevalley
pch at ap-i.net
Thu Aug 27 07:24:37 CEST 2015
Hi,
I don't use win64 a lot but this remember me a problem I have a few years ago.
Try to add the following at the start of your project .lpr file:
{$ifdef win64}
{$IMAGEBASE $400000}
{$endif}
For me this fixed both debugging and printing on win64.
Patrick
Had to give up and go to 32 bit
Sent from my iPhone
> On Aug 26, 2015, at 15:28, Bart wrote:
>
>> On 8/26/15, Larry Dalton wrote:
>> I can't get PrinterSetupDialog1.Execute to work on Lazarus 1.4.2, FPC
>> 2.6.4, on Windows 7.
>
>> When I execute button1click I get the following error:
>> "Project printertest raised exception class 'RunError(217)'"
>>
>> Clicking on Continue I get the subsequent error message:
>> Project printertest raised exception class 'EControlC' with message:
>> 'Control-C hit.'
>
> No such problems here with Lazarus 1.4.3 r49717 FPC 2.6.4
> i386-win32-win32/win64.
>
> Can you run the progrm inside gdb and then do a backtrace?
>
> Bart
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150827/bad4b136/attachment-0003.html>
More information about the Lazarus
mailing list