I have tried the example included in “Getting Started with the Crystal Report Designer Component in Microsoft Visual C++” available on Crystal Decisions web site.
However, I get runtime error when executing:
theApp.pReport = theApp.pApplication->OpenReport(FileName);
It appears that theApp.pApplication is not initialized properly.
Do I need to install anything or register any dlls or componets for the example to work?
Thanks
Robert
that is the code I use to open a report
CFileDialog Dlg(TRUE, "*.rpt | *.rpt", NULL, OFN_HIDEREADONLY, "Report Files (.rpt)|*.rpt||"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.