Crystal Reports 11 (craxdrt.dll 11.5.7.1048) Windows 7
I use Crystal Reports to export to a PDF using CRYSTALCRAXDRT :: IReport :: Export and receive an error message only for Windows 7.
"There is no email program to complete the requested action. Install the email program or, if it is already installed, create a link in the" Default programs "control panel.
Again, I'm not trying to send email, just create a document.
I put in this little debugging effort, and it seems to be happening:
- I call craxdrt.dll via the IReport interface, the Export (...) function, and then, tracking with procmon, I find that there are several hundred registry queries for the default mail program, contacts, etc.
- It would seem that craxdrt.dll builds a large data structure before the task with any information that may be required for a family of functions.
- An error was sent there when the program cannot find the default mail client
Problems with this:
- Windows 7 does not come with a default email client, and early research seems to indicate that installation does not necessarily improve the problem. In any case, I do not expect all of our customers to have one of them installed, and our customers do not expect them to be installed by us.
- The absence of an actual need for a mail client (i.e., in the above case), we still get a pop-up error message.
Note: It is interesting that this does not actually prevent the user from clicking the export button again, and in fact, if the user does this, the error does not appear, as registry queries appear to be executed only once upon loading or using craxdrt.dll.
windows-7 crystal-reports
Benboy
source share