cancel
Showing results for 
Search instead for 
Did you mean: 

Using crpe, shipped with Crystal12, the system hangs while navigating trees

Former Member
0 Kudos

We have an old product built with Crystal 9 and which uses the crpe32/COM interface for report generation from within our C++ program. I am evaluating upgrading to use crystal 2008. I notice that crpe32 is not supported, but is still shipped with crystal 2008 as a legacy dll.

Using the crpe32 that is shipped with crystal 2008, most of our existing code works, but when I traverse down a tree view, the entire system hangs. It looks like crystal engine is going into an infinite loop within one of mfc/gdiplus dll.

Any ideas of how to solve this would be very helpful. If this can't be solved and we have to move to using the .net framework from within our code, are there any good pointers/articles on this so that we can evaluate the effort it takes.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Please note that the crpe32.dll does not ship with crystal 2008 as a legacy dll. The dll is actually still used in the SDK for .NET. Support for the crpe APIs ceased at version 9 of Crystal Reports. The number of changes to the report file format since then are too great to even start to look at any issues with the APIs. Thus as you point out, your best bet is to port the app to .NET.

First place to start is the developer help files:

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm

Other resources:

http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5c...

https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe

https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe

https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe

The following are good links so you can do your own searches of our notes, articles and downloads:

https://www.sdn.sap.com/irj/sdn/businessobjects-notes

https://www.sdn.sap.com/irj/sdn/businessobjects-articles

https://www.sdn.sap.com/irj/sdn/businessobjects-downloads

Any further queries regarding the .NET SDK should be posted to the .NET Development forum at this link:

Ludek

Answers (1)

Answers (1)

Former Member
0 Kudos

I just got stuck on the same problem! I can open the file, but the SECOND time I click on something in a tree, it hangs up and never comes back.....

Did you ever get any help?

Bill Weaks

former_member183750
Active Contributor
0 Kudos

I seriously doubt that you'll get any help on this as the print engine APIs were retired in CR 9. You could, if you were lucky and good, go to CR 10, but after that, no way. Many have tried, most (all?) have failed. Your only option is to do as I specified in my previous post.

Ludek