Home Devices

Error when showing print dialog

edited August 2006 in Devices
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

Comments

  • edited August 2006
    Hi Kent,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2006
    I am getting EAccessViolation read of address 0000001d. It's not a Floating
    point overflow error.
    --

    Best regards / Med venlig hilsen

    Kent Johansen
    AK Techotel A/S

This discussion has been closed.