on 11-11-2008 4:24 PM
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.
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://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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.