Browse dialog crashing |
Post Reply |
Author | |
phil_the_lick
Groupie Joined: 03 January 2008 Status: Offline Points: 18 |
Post Options
Thanks(0)
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. |
|
phil_the_lick
Groupie Joined: 03 January 2008 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
To follow up,
if I replace the code with a standard SHBrowseForFolder() it is fine so the problem is obviously within the CXTBrowseDialog |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
phil_the_lick
Groupie Joined: 03 January 2008 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
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. |
|
phil_the_lick
Groupie Joined: 03 January 2008 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Also,
The Browse sample provided works absolutely fine. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
phil_the_lick
Groupie Joined: 03 January 2008 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
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.
|
|
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 |