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

PEPrintReport - CRPE32 Error

Status
Not open for further replies.

Quiz

Instructor
Jan 10, 2003
1
US
Hi<br><br>I used PEPrintReport sucessfully in Crystal 7.0 for printing<br>both to printer and window.<br>Suddenly I get Access violation and the program stops when calling CRPE32.<br><br>Worked fine but??<br><br>PEErr = PEPrintReport (filename, TRUE, TRUE, &quot;XRC Rapport - Tillverkade Enheter&quot;, 0, 0, 0, 0, /* CW_USEDFAULT */ 0, NULL);<br><br>Does anyone have an answer to this?<br>It would relly help me out.
 
What is the error number that the PEPrintReport call is returning?<br><br>You may want to replace <b>/* CW_USEDFAULT */ 0</b> with -32768, the equivalent value of CW_USEDFAULT.&nbsp;&nbsp;However, the spelling of CW_USEDFAULT may actually be CW_USEDEFAULT.<br><br>Hope that helps.<br><br>.... Keyser
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top