Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: File explorer plugin Pin
Rostfrei19-Jan-06 0:16
Rostfrei19-Jan-06 0:16 
Questionhow to save an icon in a CListcontrol to a file? Pin
zhonglin.liang18-Jan-06 22:06
zhonglin.liang18-Jan-06 22:06 
Questionnumber of lines in a VC++ project Pin
dharani18-Jan-06 21:54
dharani18-Jan-06 21:54 
AnswerRe: number of lines in a VC++ project Pin
Taka Muraoka18-Jan-06 22:04
Taka Muraoka18-Jan-06 22:04 
AnswerRe: number of lines in a VC++ project Pin
toxcct18-Jan-06 23:01
toxcct18-Jan-06 23:01 
AnswerRe: number of lines in a VC++ project Pin
Anilkumar K V19-Jan-06 1:40
Anilkumar K V19-Jan-06 1:40 
AnswerRe: number of lines in a VC++ project Pin
Jonas Larsson19-Jan-06 3:58
Jonas Larsson19-Jan-06 3:58 
QuestionDebug Assertion Failed when connecting Access, why? Pin
ewighell18-Jan-06 21:11
ewighell18-Jan-06 21:11 
I am developping an Add-in based on a CAD software called Autodesk Inventor. my program connects to the Access Database.following is code:
CDaoDatabase *pDb = new CDaoDatabase();
CString dbfilename = _T("DetailedDesign_97.mdb");
pDb->Open(dbfilename);
AfxMessageBox(_T("db opened"));
pDb->Close();
delete pDb;

every thing is ok when I am using the Add-in when the Inventor is running, but when I close the Inventor, an error message box comes out followed by an error to the Autodesk Inventor application.
the error message box is like this:
------------------------------
Debug Assertion Failure
Program: ...\Inventor.exe
file: appcore.cpp
line: 377
........
------------------------------
what surprises me most is that this error happens only when the add-in is copiled in the debug mode, and release is ok.

I have looked up the msdn and find nothing, anybody has any idea?



Thank you very much!!!

-------------------
I am learning C++ and English
GeneralRe: Debug Assertion Failed when connecting Access, why? Pin
ewighell18-Jan-06 21:13
ewighell18-Jan-06 21:13 
AnswerRe: Debug Assertion Failed when connecting Access, why? Pin
Stephen Hewitt18-Jan-06 21:17
Stephen Hewitt18-Jan-06 21:17 
GeneralRe: Debug Assertion Failed when connecting Access, why? Pin
ewighell18-Jan-06 23:16
ewighell18-Jan-06 23:16 
QuestionProblem with flickering Pin
AnTri18-Jan-06 20:54
AnTri18-Jan-06 20:54 
AnswerRe: Problem with flickering Pin
Russell'18-Jan-06 22:31
Russell'18-Jan-06 22:31 
AnswerRe: Problem with flickering Pin
Shraddhan22-Jan-06 18:25
Shraddhan22-Jan-06 18:25 
QuestionVS 2005 and activation ? Pin
Defenestration18-Jan-06 20:40
Defenestration18-Jan-06 20:40 
Questionhow to hide process windows. Pin
msj0191@gmail.com18-Jan-06 20:35
msj0191@gmail.com18-Jan-06 20:35 
AnswerRe: how to hide process windows. Pin
Owner drawn18-Jan-06 20:41
Owner drawn18-Jan-06 20:41 
AnswerRe: how to hide process windows. Pin
Stephen Hewitt18-Jan-06 23:52
Stephen Hewitt18-Jan-06 23:52 
QuestionDisplaying grid values as table in word Document from VC++... Pin
klvin18-Jan-06 20:01
klvin18-Jan-06 20:01 
AnswerRe: Displaying grid values as table in word Document from VC++... Pin
Owner drawn18-Jan-06 23:06
Owner drawn18-Jan-06 23:06 
QuestionAVIFiles Pin
Raistlfiren18-Jan-06 19:25
Raistlfiren18-Jan-06 19:25 
AnswerRe: AVIFiles Pin
Owner drawn18-Jan-06 19:28
Owner drawn18-Jan-06 19:28 
GeneralRe: AVIFiles Pin
Raistlfiren19-Jan-06 6:40
Raistlfiren19-Jan-06 6:40 
GeneralRe: AVIFiles Pin
Owner drawn19-Jan-06 17:59
Owner drawn19-Jan-06 17:59 
GeneralRe: AVIFiles Pin
Raistlfiren19-Jan-06 18:45
Raistlfiren19-Jan-06 18:45 

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.