Click here to Skip to main content
15,894,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan't run my program on other computers Pin
Tnarol9-Jul-06 22:17
Tnarol9-Jul-06 22:17 
AnswerRe: Can't run my program on other computers Pin
Hamid_RT9-Jul-06 22:31
Hamid_RT9-Jul-06 22:31 
GeneralRe: Can't run my program on other computers Pin
Tnarol9-Jul-06 22:44
Tnarol9-Jul-06 22:44 
AnswerRe: Can't run my program on other computers Pin
Sarath C9-Jul-06 22:34
Sarath C9-Jul-06 22:34 
GeneralRe: Can't run my program on other computers Pin
Tnarol9-Jul-06 23:12
Tnarol9-Jul-06 23:12 
GeneralRe: Can't run my program on other computers Pin
Sarath C9-Jul-06 23:15
Sarath C9-Jul-06 23:15 
QuestionDragDrop for FlexGrid & Context Menu for Audio Files Pin
Andy Rama9-Jul-06 22:05
Andy Rama9-Jul-06 22:05 
QuestionDebug Assertion Failed Pin
arvindbhateja9-Jul-06 21:53
arvindbhateja9-Jul-06 21:53 
I'm migrating code from VC++ 6 to VC++ 2005/(vc++ 8). For this I'm creating a new MFC Project in VC++ 2005 and adding files (just for one module) from the existing project. I'm Using MFC in shared DLL with /clr option.

The code has no compile time errors (although many warnings are there regarding DAO). The code uses DAO to access data. When I run the project the first thing(messagebox) it shows with three buttons Abort, Retry, Ignore:

Debug Assertion Failed!

Program: d:\projcts\tryAgain\Elect\debug\Elect.ext
File: f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm.cpp
Line:2325

There is no such path "f:\rtm\vctools.." on my pc, may be it was there who originally developed the project. And this path is not being used in any of the source/header files.

When I click on Abort or Retry it goes into the following files:

winfrm.cpp
objcore.cpp
dbgrptt.c
afxtls.cpp

and says Elect.exe has triggered a breakpoint. And finally execution ends with not showing the Main form.

I think the poject was compiled with Static MFC Library option for release by the earlier developers. I don't know why am I getting this error even after creating a new project and adding files to it?

I have rebuilt the project and set the "Use Precompiled Header" option to "Not Using Precompiled Header".

I'll be highly indebted for any kind of help.

AnswerRe: Debug Assertion Failed Pin
Sarath C9-Jul-06 22:38
Sarath C9-Jul-06 22:38 
GeneralRe: Debug Assertion Failed Pin
arvindbhateja9-Jul-06 23:26
arvindbhateja9-Jul-06 23:26 
AnswerRe: Debug Assertion Failed Pin
Jonathan [Darka]10-Jul-06 8:33
professionalJonathan [Darka]10-Jul-06 8:33 
QuestionAPI in VCE 2005 Pin
giddy_guitarist9-Jul-06 21:41
giddy_guitarist9-Jul-06 21:41 
AnswerRe: API in VCE 2005 [modified] Pin
Sarath C9-Jul-06 21:51
Sarath C9-Jul-06 21:51 
GeneralRe: API in VCE 2005 Pin
giddy_guitarist10-Jul-06 0:49
giddy_guitarist10-Jul-06 0:49 
GeneralRe: API in VCE 2005 [modified] Pin
Sarath C10-Jul-06 1:41
Sarath C10-Jul-06 1:41 
GeneralRe: API in VCE 2005 Pin
giddy_guitarist10-Jul-06 6:38
giddy_guitarist10-Jul-06 6:38 
GeneralRe: API in VCE 2005 Pin
giddy_guitarist31-Mar-07 5:18
giddy_guitarist31-Mar-07 5:18 
QuestionHow to get data from a database into a control of property page Pin
vc++_fragrance9-Jul-06 20:49
vc++_fragrance9-Jul-06 20:49 
Questionhow to find blocked ports in a system ? Pin
jalsa G9-Jul-06 20:46
jalsa G9-Jul-06 20:46 
AnswerRe: how to find blocked ports in a system ? Pin
ThatsAlok9-Jul-06 21:02
ThatsAlok9-Jul-06 21:02 
QuestionHow to diable ok button of property sheet Pin
jadhav1239-Jul-06 20:36
jadhav1239-Jul-06 20:36 
AnswerRe: How to diable ok button of property sheet Pin
o.sanchez9-Jul-06 20:52
o.sanchez9-Jul-06 20:52 
GeneralRe: How to diable ok button of property sheet Pin
Naveen9-Jul-06 20:54
Naveen9-Jul-06 20:54 
GeneralRe: How to diable ok button of property sheet Pin
o.sanchez9-Jul-06 21:03
o.sanchez9-Jul-06 21:03 
AnswerRe: How to diable ok button of property sheet Pin
Naveen9-Jul-06 20:53
Naveen9-Jul-06 20:53 

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.