Board index » delphi » Crystal Reports problem

Crystal Reports problem

I just purchased Crystal Reports 4.5 and haven't got it working properly.

When trying to print a sample report included with 16-bit version, I just
get the boring message "An error has occurred in your program...".  
Then I press OK, and dialog box "SmartHeap Library" with message
"MEM_BAD_POINTER" appears. Next the whole system usually halts. Print
preview works without any problems. Anybody has an idea what is this?
(I'm using Win95 with 16MB RAM).

Printing in 32-bit version seams to work ok, but I don't know how to
print from Delphi application using 32-bit stuff.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Markku Kinnunen ---- University of Oulu, Finland ---- k...@stekt.oulu.fi -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 

Re:Crystal Reports problem


Quote
In article <449tdf$...@ousrvr3.oulu.fi> k...@stekt.oulu.fi (Markku Kinnunen) writes:
>From: k...@stekt.oulu.fi (Markku Kinnunen)
>Subject: Crystal Reports problem
>Date: 26 Sep 1995 22:04:31 GMT
>I just purchased Crystal Reports 4.5 and haven't got it working properly.
>When trying to print a sample report included with 16-bit version, I just
>get the boring message "An error has occurred in your program...".  
>Then I press OK, and dialog box "SmartHeap Library" with message
>"MEM_BAD_POINTER" appears. Next the whole system usually halts. Print
>preview works without any problems. Anybody has an idea what is this?
>(I'm using Win95 with 16MB RAM).
>Printing in 32-bit version seams to work ok, but I don't know how to
>print from Delphi application using 32-bit stuff.

No ideas here, but I'd call (or e-mail) Crystal Software with this one, after
making *very sure* that all of the pointers that you passed in to Crystal were
good and that you called all of the right initialization routines.  There are
a lot of rough edges in Crystal.

Incidentally, I use the "ucrpe" component to drive Crystal rather than using
API calls directly, and it works fine.  Basically, I let somebody else chase
down all these problems.  :->

/mr/

Other Threads