![]() |
GPF in AfxDeactivateActCtx |
Post Reply
|
| Author | |
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
Topic: GPF in AfxDeactivateActCtxPosted: 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? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
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? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
MacW
Senior Member
Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() 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 |