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

C / C++ / MFC

 
AnswerRe: Debug Assertion Failed Error ! Help me please. Pin
Code-o-mat9-Aug-11 0:29
Code-o-mat9-Aug-11 0:29 
QuestionRe: Debug Assertion Failed Error ! Help me please. Pin
David Crow9-Aug-11 4:01
David Crow9-Aug-11 4:01 
AnswerRe: Debug Assertion Failed Error ! Help me please. Pin
Nguyen Huy Tuan10-Aug-11 20:47
Nguyen Huy Tuan10-Aug-11 20:47 
QuestionHow to extract only text information from html file? Pin
Le@rner8-Aug-11 20:03
Le@rner8-Aug-11 20:03 
AnswerRe: How to extract only text information from html file? Pin
ThatsAlok8-Aug-11 21:12
ThatsAlok8-Aug-11 21:12 
GeneralRe: How to extract only text information from html file? Pin
Le@rner8-Aug-11 21:32
Le@rner8-Aug-11 21:32 
GeneralRe: How to extract only text information from html file? Pin
ThatsAlok9-Aug-11 2:01
ThatsAlok9-Aug-11 2:01 
Question[solved]Still trying to hunt down a runtime error in VS 2010, need suggestions [modified] Pin
AndrewG12318-Aug-11 9:35
AndrewG12318-Aug-11 9:35 
QuestionRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Albert Holguin8-Aug-11 10:19
professionalAlbert Holguin8-Aug-11 10:19 
AnswerRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
AndrewG12318-Aug-11 10:48
AndrewG12318-Aug-11 10:48 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Richard MacCutchan8-Aug-11 21:18
mveRichard MacCutchan8-Aug-11 21:18 
QuestionRe: Still trying to hunt down a runtime error in VS 2010, need suggestions [modified] Pin
AndrewG12319-Aug-11 7:10
AndrewG12319-Aug-11 7:10 
AnswerRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Richard MacCutchan9-Aug-11 8:52
mveRichard MacCutchan9-Aug-11 8:52 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
AndrewG12319-Aug-11 9:58
AndrewG12319-Aug-11 9:58 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Charles Oppermann9-Aug-11 10:37
Charles Oppermann9-Aug-11 10:37 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
AndrewG12319-Aug-11 14:04
AndrewG12319-Aug-11 14:04 
The value of hr is E_INVALIDARG of type HRESULT...this does seem to be telling me something, but I am not sure which argument it is referring to in my stack. After the the assertion when I press retry to continue to debug the program breaks and here is my call stack:

mfc100d.dll!CRecentFileList::Add(const char * lpszPathName, const char * lpszAppID) Line 225 + 0x25 bytes C++
mfc100d.dll!CWinApp::AddToRecentFileList(const char * lpszPathName) Line 84 C++
mfc100d.dll!CDocument::SetPathName(const char * lpszPathName, int bAddToMRU) Line 296 C++
mfc100d.dll!COleDocument::SetPathName(const char * lpszPathName, int bAddToMRU) Line 183 C++
WinSTM.exe!CWinSTMDoc::CopyDoc(CWinSTMDoc * pDocNew, int chan) Line 485 + 0x3b bytes C++
WinSTM.exe!CWinSTMView::CreateNewDoc(CWinSTMDoc * pDoc) Line 2715 C++
WinSTM.exe!CWinSTMView::OnImageAutoPlane() Line 4786 + 0x11 bytes C++


However, I think there is a problem going on here based on tracking m_Bitmap, but this occurs before the exception is thrown (the following call stack occurs when I hear a sound that seems to indicate a problem with the bitmap):
C#
HBITMAP CWinSTMBmp::GetHBitmap(void)
{

    return HBITMAP(m_Bitmap);
}


WinSTM.exe!CWinSTMBmp::GetHBitmap() Line 68 C++
WinSTM.exe!CWinSTMView::DrawImage(CDC * pDC) Line 774 + 0xe bytes C++
WinSTM.exe!CWinSTMView::OnDraw(CDC * pDC) Line 457 C++
mfc100d.dll!CView::OnPaint() Line 189 C++
mfc100d.dll!CWnd::OnWndMsg(unsigned int message, unsigned int wParam, long lParam, long * pResult) Line 2354 C++
mfc100d.dll!CWnd::WindowProc(unsigned int message, unsigned int wParam, long lParam) Line 2067 + 0x20 bytes C++
mfc100d.dll!AfxCallWndProc(CWnd * pWnd, HWND__ * hWnd, unsigned int nMsg, unsigned int wParam, long lParam) Line 248 + 0x1c bytes C++

SuggestionRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Charles Oppermann10-Aug-11 2:45
Charles Oppermann10-Aug-11 2:45 
QuestionRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
AndrewG123110-Aug-11 9:49
AndrewG123110-Aug-11 9:49 
AnswerRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Charles Oppermann10-Aug-11 10:15
Charles Oppermann10-Aug-11 10:15 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
AndrewG123110-Aug-11 10:29
AndrewG123110-Aug-11 10:29 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Charles Oppermann10-Aug-11 10:42
Charles Oppermann10-Aug-11 10:42 
QuestionRe: Still trying to hunt down a runtime error in VS 2010, need suggestions [modified] Pin
AndrewG123117-Aug-11 12:36
AndrewG123117-Aug-11 12:36 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Charles Oppermann9-Aug-11 10:40
Charles Oppermann9-Aug-11 10:40 
GeneralRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Code-o-mat8-Aug-11 22:15
Code-o-mat8-Aug-11 22:15 
AnswerRe: Still trying to hunt down a runtime error in VS 2010, need suggestions Pin
Rolf Kristensen9-Aug-11 10:30
Rolf Kristensen9-Aug-11 10:30 

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.