Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

*.exe has generated errors and will be closed by windows. WHY?

Status
Not open for further replies.

earnason

Programmer
May 12, 2003
5
CA
I've got a problem using VB6 and Crystal Reports 8.0.

When I try to close some of my reports I consistantly get the following error.

forms.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created.

The name of my executable is Forms.exe

The .exe is crashing on the API call PEClosePrintJob. If I comment that out it crashes on PECloseEngine.

What could be causing this error? Could it be a .dll? Any suggestions would be helpful.
 
I've tried recreating the report but that didn't work. I've also tried PECanCloseEngine but that caused the same error to occur.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top