I am using the latest Crystal Reports for Visual Studio (Support Pack 16, v.13.0.16.1954) with Visual Studio 2013 Professional.
I have a class MyCrystalViewer (written in C++) that is derived from CrystalDecisions::Windows::Forms::CrystalReportViewer.
When the subclass MyCrystalViewer is instantiated, I receive an exception claiming that resource 'DefaultAnimation.gif' cannot be found in class.
This seems to be a well known problem as described in http://scn.sap.com/thread/1836467. In this post, the following line
this.progressAnimationImage = new Bitmap(base.GetType(), "DefaultAnimation.gif");
of the CrystalReportViewer class was identified as the problem. This code looks for the file "DefaultAnimation.gif" not in the CrystalReportViewer assembly but in MyCrystalViewer. The workaround that has been proposed in the above mentioned thread is to create a new file "DefaultAnimation.gif" and include it in your assembly. Basically offering an alternative file during runtime.
Since I am not using C#, this workaround does not work for me. Does anyone know a similar workaround for C++ projects? Porting my source code to C# is not an option at the moment.
I would greatly appreciate any help,
Thank you
Michael