Print Page | Close Window

Crystal Reports XI vs Windows 7

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=14847
Printed Date: 25 Apr 2025 at 10:00am


Topic: Crystal Reports XI vs Windows 7
Posted By: Alfredo
Subject: Crystal Reports XI vs Windows 7
Date Posted: 02 Nov 2011 at 7:10am

I developed an application under Visual Studio 2005 using Crystal Reports XI. If I installed it under Windows 7, reporting worked fine. Now I changed to Visual Studio 2010, still using Crystal Reports XI. If I install my application under Windows 7, direct printing works still fine but the print preview crashes if I create the report viewer with CreateControl(…).

 

class CCrystalReportViewer11 : public CWnd

{

protected:

      DECLARE_DYNCREATE(CCrystalReportViewer11)

public:

      CLSID const& GetClsid()

      {

            static CLSID const clsid = { 0x460324E8, 0xCFB4, 0x4357, { 0x85, 0xEF, 0xCE, 0x3E, 0xBF, 0xE2, 0x3A, 0x62 } };

 

            return clsid;

      }

 

      virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle,

                                    const RECT& rect, CWnd* pParentWnd, UINT nID,

                                    CCreateContext* pContext = NULL)

      {

            return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID);

      }

 

 

I know that Crystal reports XI is installed on the Windows 7 machine and also can find CLSID {460324E8-CFB4-4357-85EF-CE3EBFE23A62} in its registry.

To anybody know, what’s going wrong ?



-------------
Alfredo



Replies:
Posted By: comatt1
Date Posted: 23 Nov 2011 at 1:25am
There is a SR2, and supplemental to Version 6 I would get

Downloads for Crystal Reports Xi R2:

Part 1 (full build): http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe - http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe

Part 2 (incremental update): http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE - http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE (install this as well if using on Windows 7)




Print Page | Close Window