Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What happens in my VC++ application Pin
Zdeslav Vojkovic2-Jan-06 23:11
Zdeslav Vojkovic2-Jan-06 23:11 
AnswerRe: What happens in my VC++ application Pin
Michael Dunn3-Jan-06 8:01
sitebuilderMichael Dunn3-Jan-06 8:01 
QuestionImplementation of Multipage PDF Pin
Ramnath Panda2-Jan-06 20:31
Ramnath Panda2-Jan-06 20:31 
AnswerRe: Implementation of Multipage PDF Pin
khan++3-Jan-06 3:12
khan++3-Jan-06 3:12 
Questionfacing prob with splitterwnd in CMainFrame of MDI app. Pin
geeta_patil2-Jan-06 20:11
geeta_patil2-Jan-06 20:11 
AnswerRe: facing prob with splitterwnd in CMainFrame of MDI app. Pin
Owner drawn2-Jan-06 20:18
Owner drawn2-Jan-06 20:18 
GeneralRe: facing prob with splitterwnd in CMainFrame of MDI app. Pin
geeta_patil2-Jan-06 21:20
geeta_patil2-Jan-06 21:20 
GeneralRe: facing prob with splitterwnd in CMainFrame of MDI app. Pin
Owner drawn2-Jan-06 21:22
Owner drawn2-Jan-06 21:22 
GeneralRe: facing prob with splitterwnd in CMainFrame of MDI app. Pin
geeta_patil2-Jan-06 21:51
geeta_patil2-Jan-06 21:51 
GeneralRe: facing prob with splitterwnd in CMainFrame of MDI app. Pin
Owner drawn2-Jan-06 22:15
Owner drawn2-Jan-06 22:15 
JokeOT Pin
Eytukan3-Jan-06 5:28
Eytukan3-Jan-06 5:28 
GeneralRe: OT Pin
Owner drawn3-Jan-06 16:52
Owner drawn3-Jan-06 16:52 
QuestionCustom drawn Tab controls Pin
MrNed2-Jan-06 20:00
MrNed2-Jan-06 20:00 
AnswerRe: Custom drawn Tab controls Pin
Owner drawn2-Jan-06 21:38
Owner drawn2-Jan-06 21:38 
QuestionVC++ /updation problem in mfc Pin
harshandu2-Jan-06 19:38
harshandu2-Jan-06 19:38 
AnswerRe: VC++ /updation problem in mfc Pin
ThatsAlok2-Jan-06 21:08
ThatsAlok2-Jan-06 21:08 
QuestionDoes Win32 console application supports WinMain and Winproc functions Pin
chandu362-Jan-06 19:25
chandu362-Jan-06 19:25 
AnswerRe: Does Win32 console application supports WinMain and Winproc functions Pin
kakan2-Jan-06 19:44
professionalkakan2-Jan-06 19:44 
QuestionStart->Run search path Pin
Chintoo7232-Jan-06 19:17
Chintoo7232-Jan-06 19:17 
AnswerRe: Start->Run search path Pin
Owner drawn2-Jan-06 19:43
Owner drawn2-Jan-06 19:43 
AnswerRe: Start->Run search path Pin
Michael Dunn3-Jan-06 8:04
sitebuilderMichael Dunn3-Jan-06 8:04 
QuestionDateTimePicker Issue Pin
romuzu2-Jan-06 16:09
romuzu2-Jan-06 16:09 
QuestionDetecting setup with hook Pin
Castylx2-Jan-06 15:34
Castylx2-Jan-06 15:34 
Questionhardware security Pin
happycpp2-Jan-06 15:31
happycpp2-Jan-06 15:31 
QuestionCan't open more than 16 documents in my application Pin
brdavid2-Jan-06 15:04
brdavid2-Jan-06 15:04 
I am having a rather odd problem with my VC++ application when it comes to opening a certain number of documents. Here's a little background. Each document window that opens is a rather complicated formview run by a rather large and complicated object. The serialization alone saves to a file where the size averages about 200k. when I open around 16 documents, in debug the application pretty much stops working, that is I cannot open anything. Clicking on a menu results in nothing. Clicking the toolbar buttons results in nothing. Navigation completely halts. When run in release the application crashes when i open the 16th document. Sometimes I can get 17.

Now I'm thinking this is a memory issue. Certainly sounds like it. My following questions which I hope someone here can answer are:

1) What do you think this is?
2) If it is memory any ideas on solving it?
3) I was thinking perhaps I could have only the object that is currently active in memory, that is, if a person clicks a document window, then activation that object and clear the rest. Problem here is I have no idea how to do this? Opening up a document takes a bit of time: around 3 to 5 seconds to open a document. If I cleared the object I would have to rebuild it which means a 3 to 5 delay each time we switch to a new document window.
4) Any other ideas?

Thanks for the help! I would include source code, but we are talking a HUGE project here. If you need access to the code I can certainly make that happen. Maybe we can narrow the search down to a few c++ files.

Thanks again!


-- modified at 21:05 Monday 2nd January, 2006

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.