Error when showing print dialog
Hi,
I am getting a Access Violation when showing the print dialog in "procedure
TppPrintDialog.InitializePrinterControls" in the following line: "if
(ppPrinters.PrinterInfo[cbxPrinters.Items[liIndex]].IsLocal) then". It is
only sometimes the error appears, and my program is running at various
operating systems, but mostly Win 2000. I have tried to call the
ppPrinters.Refresh but that didn't work. Multiple printers are attched both
network printers and local printers.
I am using Delphi 7 RB 7.04, but it's the same in Delphi 2006 RB 10.04.
Please help.
--
Best regards / Med venlig hilsen
Kent Johansen
AK Techotel A/S
I am getting a Access Violation when showing the print dialog in "procedure
TppPrintDialog.InitializePrinterControls" in the following line: "if
(ppPrinters.PrinterInfo[cbxPrinters.Items[liIndex]].IsLocal) then". It is
only sometimes the error appears, and my program is running at various
operating systems, but mostly Win 2000. I have tried to call the
ppPrinters.Refresh but that didn't work. Multiple printers are attched both
network printers and local printers.
I am using Delphi 7 RB 7.04, but it's the same in Delphi 2006 RB 10.04.
Please help.
--
Best regards / Med venlig hilsen
Kent Johansen
AK Techotel A/S
This discussion has been closed.
Comments
What is the exact AV you are encountering? If this is a "Floating point
overflow error", there is a patch available that may fix the problem.
Please email support@digital-metaphors.com requesting this patch if you
would like to try it.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
point overflow error.
--
Best regards / Med venlig hilsen
Kent Johansen
AK Techotel A/S