LoadFrame release build problem

Posted on 2001-08-31
Last Modified: 2013-11-20
i have an application that works well in debug build..but when i compile it in release, the call the LoadFrame their an explanation or solution for this problem?

Question by:polgas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 32

Expert Comment

ID: 6444419
Can you be more specific about the error?

Can you show some of your code so that we can understand what you are doing?

Author Comment

ID: 6455691
heres the code jhance:

     // create main MDI Frame window
     CMainFrame* pMainFrame = new CMainFrame;
     if (pMainFrame==NULL)
          TRACE("CSampleApp::Main frame creation failed!\n");
          return FALSE;
     if (!pMainFrame->LoadFrame(IDR_MAINFRAME))
          TRACE("CSampleApp::LoadFrame failed!\n");
          ::AfxMessageBox("LoadFrame failed");
          return FALSE;

i just inserted an AfxMessageBox so that i could be notified of the error..

based on MSDN, i cannot figure wats wrong with the loadframe command..tnx


Accepted Solution

ThomasHolz earned 100 total points
ID: 6689540
I've got a similar problem and found another (similar) question (with an interesting comment) that might help you:
LVL 23

Expert Comment

by:Roshan Davis
ID: 9531972
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: ThomasHolz

Please leave any comments here within the next seven days.


Roshan Davis
EE Cleanup Volunteer

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question