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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PEStartPrintJob throwing exception

Status
Not open for further replies.

bwysocki

Programmer
Sep 19, 2001
38
US
Ok I'm stumped,

We have one report that refuses to export to RTF. It runs to the screen fine. You can also click on the export button after it has been displayed on the screen and it works ok.

Doing some further digging I found that the program is crashing on the PEStartPrintJob(m_jobHandle,TRUE) statement.

Earlier in the code there are calls to GetSQLQuery and SetSQLQuery. If both of these calls are commented out, the report will export fine.

I apparently have a report on my hands that doesn't like it's query tampered with. :)

Thanks for your help,
Bob
 
I don't have any specific answers, but we have run into various issues like this with our programmers, and we are always keeping them updated with the latest and greatest .dll sets (especially CRPE32.dll and CRQE.dll). So just an idea to check and make sure you have the latest Crystal Service Packs and Monthly Hotfixes installed so that any issues with those various API calls might have been fixed, etc....

just an idea of a starting point.... hope this helps somehow.

Mark Rudolph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top