paunetg
March 17th, 2005, 03:47 AM
Hello,
In the Crystal Report Help file, there is a sample called " Creating a Visual C++ sample application with the embeddable Designer". Is a step by step sample...
In the sample we use active X control. I have added this active X on my tool box and put it on my dialog.
My problem comes when I must declare an object to this active X. In the sample it must be CCRDesignCtrl so i declare :
CCRDesigner m_Viewer; in .h file
DDX_Control(pDX, IDC_EMBEDDABLECRYSTALREPORTSDESIGNERCTRL1, m_Designer); // in DoDataexchange
But the compilator doesn't recognize CCRDesigner !!!
I've tried to import craxdrt.dll and CRDesignerCtrl.DLL in stadafx but it doesn't work too....
Anybody have a solution ????
Thanks you
In the Crystal Report Help file, there is a sample called " Creating a Visual C++ sample application with the embeddable Designer". Is a step by step sample...
In the sample we use active X control. I have added this active X on my tool box and put it on my dialog.
My problem comes when I must declare an object to this active X. In the sample it must be CCRDesignCtrl so i declare :
CCRDesigner m_Viewer; in .h file
DDX_Control(pDX, IDC_EMBEDDABLECRYSTALREPORTSDESIGNERCTRL1, m_Designer); // in DoDataexchange
But the compilator doesn't recognize CCRDesigner !!!
I've tried to import craxdrt.dll and CRDesignerCtrl.DLL in stadafx but it doesn't work too....
Anybody have a solution ????
Thanks you