CR 10 RDC: Callback for report creation progress?
Posted on 2004-09-16
We use CR 10 Developer (English), and we embed the RDC (= the "reporting engine" of Crystal) into our Windows application. (We use the RDC through its COM interface, in C++.) We use the RDC for exporting reports into PDF files. When our app is exporting a report, the Crystal engine pops up a dialog titled "Exporting records" that shows the progress of file creation (X records out of Y, Z% done).
Our problem with that dialog is that it's in English, and in the Japanese/Chinese/... versions of our app, we want to display a progress meter in Japanese/Chinese/... . AFAIK, if we bought one copy of CR 10 in each required language, then we might be able to replace some of Crystal's language resource DLL's, and then the dialog would be displayed in the corresponding language.
But we don't want to buy those extra copies; instead, we would like to hide the "Exporting Records" dialog, and replace it with our own progress meter. For that, we'd need a way to get info from the RDC on how exporting is proceeding. The most obvious way would be a callback function - do you know whether that's possible?