Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal Reports XI vs Windows 7 Post Reply Post New Topic
Author Message
Alfredo
Newbie
Newbie


Joined: 02 Nov 2011
Location: Liechtenstein
Online Status: Offline
Posts: 1
Quote Alfredo Replybullet Topic: Crystal Reports XI vs Windows 7
    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
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet 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

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

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.033 seconds.