Print Page | Close Window

Browse dialog crashing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=9532
Printed Date: 02 July 2024 at 6:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Browse dialog crashing
Posted By: phil_the_lick
Subject: Browse dialog crashing
Date Posted: 08 February 2008 at 8:09am
Hi,

The following code is a ON_COMMAND handler in my application object:

CXTBrowseDialog      dlg;

dlg.DoModal();

When I run my app, the first time I click the command the browse dialog executes fine, no problem. If I then press the command again, the dialog appears briefly then a crash occurs. The debugger breaks at dbgheap.c, line 1260. If I substitute this code with any other dialog code, say a CFileBrowser there is no problem with it no matter how many times I press the command.

Debugger message:
Unhandled exception at 0x76c941f4 in MyApp.exe 0xc0000005: Access violation reading location 0x16210014.

I am using VS2008Pro trial, the eval version of toolkit pro 11.2.2.

Any Ideas?

Cheers,
Phil.



Replies:
Posted By: phil_the_lick
Date Posted: 08 February 2008 at 12:26pm
To follow up,

if I replace the code with a standard SHBrowseForFolder() it is fine so the problem is obviously within the CXTBrowseDialog


Posted By: Oleg
Date Posted: 08 February 2008 at 2:56pm
Hello,
 
Think its because your VS2008Pro trial. It can be difference in lib files you have and lib files we used to build evals. I can't reproduce it.
Do you have another vc installed?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: phil_the_lick
Date Posted: 09 February 2008 at 2:03pm
Yes, I have every VS from 2003 onwards installed, all pro version. I also have an earlier version of the toolkit pro (11.2.1 for vs 2005) installed.

I'm using VS 2008 pro trial.

Is this combination a problem then? I haven't noticed any issues with any of the other codejock controls.


Posted By: phil_the_lick
Date Posted: 10 February 2008 at 11:49am
Also,

The Browse sample provided works absolutely fine.



Posted By: Oleg
Date Posted: 11 February 2008 at 8:44am
Hello,
Can you modify one of our sample, reproduce problem and attach it in post. I still can't reproduce it - maybe its some option of your project.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: phil_the_lick
Date Posted: 19 February 2008 at 10:29am
VS is out next week. As sson as I get my hands on it and get it deployed I'll retest. If the issue is still a problem I'll build a skeleton project and post.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net