Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - VS 2008
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VS 2008

 Post Reply Post Reply
Author
Message
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Topic: VS 2008
    Posted: 10 June 2008 at 4:48am
Hi!

In last few days we updated our project  from VS6.0 to VS2008. The application can be started using two modes, our classic design (not using Codejock Toolkit) and new RibbonBar based design. The VS6.0 build works perfectly, but the VS2008 build crashes when started in RibbonBar design mode. Here is the Error report:

######## EXCEPTION: 0xC0000005 at address: 0x7868424F: ACCESS VIOLATION  read attempt to address 0x00000008
1: 06/10/08 10:05:35

1:   0     Ordinal2451 +5 bytes
1:     Decl: Ordinal2451
1: SymGetModuleInfo): GetLastError = 87

1:   1     CXTPAccessible::GetChildIndex +223 bytes
1:     Decl: protected: long __thiscall CXTPAccessible::GetChildIndex(struct tagVARIANT *)
1: SymGetModuleInfo): GetLastError = 87

1:   2     Ordinal2450 +40 bytes
1:     Decl: Ordinal2450
1: SymGetModuleInfo): GetLastError = 87

We are binding CommandBars1200vc90.dll as shared DLL, including XTCommandBarsPro.h in the stdafx.h.

The symptoms are same on each machine we tested it on, (2 Win XP machines, 1 Vista Bussines and 1 Server 2003 R2 machine).

Any idea what could be wrong here?

Thanks!

Bojan Hrnkas
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2008 at 12:57am
Hi,
 
Do you see same when run Customize dialog in our Ribbon Sample ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2008 at 4:31am
Haven't tried that yet. I am gonna test it and let you know...
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2008 at 7:10am

I found the problem. In the constructor of a class derived from CXTPControlButton I called the CXTPControllButton constructor, which is a mistake I am ashamed to admit here.

Sorry for the trouble!
 
Greets!
 
Bojan Hrnkas
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.048 seconds.