Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 514601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:32:30+00:00 2026-05-13T07:32:30+00:00

I have been getting sporadic reports of my application (compiled with Delphi 7) refusing

  • 0

I have been getting sporadic reports of my application (compiled with Delphi 7) refusing to start on some PCs – it exited immediately with the Windows error message:

“….exe has encountered a problem and
needs to close. We are sorry for the
inconvenience”

My advice up until now has to always been to install a default printer (any printer – even a PDF printer) and the problem goes away. How can I fix the application? My program only access the PrinterDialog controls when the user pushes the Print button.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:32:31+00:00Added an answer on May 13, 2026 at 7:32 am

    I received an email containing a bug report generated by MadExcept with the very helpful stacktrace:

    exception class   : EReadError
    exception message : Error reading PrinterDialog.Copies: Operation not supported on selected printer.
    
    main thread ($5d4):
    0044c0a2  Classes      HandleException
    0044c258  Classes      TReader.ReadProperty
    0044bbf5  Classes      TReader.ReadDataInner
    0044bbd7  Classes      TReader.ReadData
    00450675  Classes      TComponent.ReadState
    0044ba51  Classes      TReader.ReadComponent
    0044bc69  Classes      TReader.ReadDataInner
    0044bba8  Classes      TReader.ReadData
    00450675  Classes      TComponent.ReadState
    004963a5  Controls     TControl.ReadState
    004998c9  Controls     TWinControl.ReadState
    004afcc9  Forms        TCustomForm.ReadState
    0044c9a9  Classes      TReader.ReadRootComponent
    00449f42  Classes      TStream.ReadComponent
    00446a3b  Classes      InternalReadComponentRes
    00446bc5  Classes      InitComponent
    00446c56  Classes      InitInheritedComponent
    004af661  Forms        TCustomForm.Create
    004518b0  Classes      StdWndProc
    004b7111  Forms        TApplication.CreateForm
    006abe32           176 initialization
    

    The problem is caused by the fact I had set a number of properties of the TPrinterDialog at design time, such as the flag to print page numbers. When Delphi tried to create the form and set these properties on a PC with no printer, the error occurs.

    The solution was to delete the old TPrinterDialog and replace it with a new default TPrinterDialog and set the properties at run time once a new printer was installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.