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

GPF in AfxDeactivateActCtx

 Post Reply Post Reply
Author
Message
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Topic: GPF in AfxDeactivateActCtx
    Posted: 10 November 2007 at 12:48pm
Hi,

I'm using the latest CodeJock Pro Debug Unicode build.
When I open an CXTColorDialog, I get a

First-chance exception at 0x773d78f1 in im5ui4.exe: 0xC0000005: Access violation writing location 0x01bd6c6c.

in the above function. I think I recall a similar problem with an earlier XTP version, but this was fixed in the intermediate versions. Seems that this bug now shows up again?
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: 12 November 2007 at 1:03am

Hi,

I sure you just link old dll using new headers.
Uninstall all previous versions and totally rebuild your application. be sure you link with last dll.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Posted: 12 November 2007 at 12:45pm
Hi, Oleg

I have installed XTP 1121 fresh, into a new folder. I complied the shared libraries (with the "Treat wchar_t as built-in type" set of No). I have only one copy of the lib and the DLL on my system, and my app loads the DLL from the correct location.

The problem still happens, whenever I open the CXTColorDialog for the first time from the OnInplaceButtonDown handler of a XTPpropertyGrid.

ny other idea I can try?
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: 13 November 2007 at 11:19am

Hi,

Oh, right, I forgot about this 0xC0000005. its old known problem of comctrl32.dll. You can open any PropetySheet and will see same First-chance exception.
Here details - http://support.microsoft.com/kb/158552/en-us
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Posted: 13 November 2007 at 6:55pm
Hi, Oleg

thanks. This explains it. Or, as Microsoft would put it:

"This GPF is by design"

Thanks for your support.
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.046 seconds.