Solved

LoadFrame release build problem

Posted on 2001-08-31
5
430 Views
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 failed..is their an explanation or solution for this problem?

tnx.
0
Comment
Question by:polgas
5 Comments
 
LVL 32

Expert Comment

by:jhance
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?
0
 

Author Comment

by:polgas
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

0
 

Accepted Solution

by:
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:

http://experts-exchange.com/jsp/qShow.jsp?qid=20219284
0
 
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 53
ODBC Connection Logging, ADO.NET 6 56
Excel Use VBA to get user's Mac Address for their computer 5 115
noX challenge 17 92
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

867 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now