Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Browse dialog crashing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Browse dialog crashing

 Post Reply Post Reply
Author
Message Reverse Sort Order
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post Topic: Browse dialog crashing
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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 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
Back to Top
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post Posted: 10 February 2008 at 11:49am
Also,

The Browse sample provided works absolutely fine.

Back to Top
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
phil_the_lick View Drop Down
Groupie
Groupie


Joined: 03 January 2008
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote phil_the_lick Quote  Post ReplyReply Direct Link To This Post 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.
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.109 seconds.