Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using RFX_Text_Bulk Pin
Larry Mills Sr13-Dec-09 6:18
Larry Mills Sr13-Dec-09 6:18 
GeneralRe: Using RFX_Text_Bulk Pin
Richard MacCutchan13-Dec-09 6:47
mveRichard MacCutchan13-Dec-09 6:47 
GeneralRe: Using RFX_Text_Bulk Pin
Larry Mills Sr13-Dec-09 9:20
Larry Mills Sr13-Dec-09 9:20 
GeneralRe: Using RFX_Text_Bulk Pin
Richard MacCutchan13-Dec-09 9:48
mveRichard MacCutchan13-Dec-09 9:48 
GeneralRe: Using RFX_Text_Bulk Pin
Richard MacCutchan13-Dec-09 23:19
mveRichard MacCutchan13-Dec-09 23:19 
GeneralRe: Using RFX_Text_Bulk Pin
Larry Mills Sr14-Dec-09 0:56
Larry Mills Sr14-Dec-09 0:56 
GeneralRe: Using RFX_Text_Bulk Pin
Richard MacCutchan14-Dec-09 4:48
mveRichard MacCutchan14-Dec-09 4:48 
QuestionSDI app executes CFrameWnd::OnCreate throwing Invalid Address specified to RtlValidateHeap Pin
sharion12-Dec-09 7:36
sharion12-Dec-09 7:36 
I create a SDI application,which deals with ODBC. When I debug the application, so weired thing happens.

In MainFrm.cpp,the application run into CMainFrame::OnCreate function. When it comes to CFrameWnd::OnCreate function, the application is paused.Detailed information is below.

Prompt information on popup dialog shows a breakpoint is trigged. The output window says Invalid Address specified to RtlValidateHeap( 00E30000, 00E36918 ). The application finally stops at the following positon.
~CSimpleStringT() throw()
	{
		CStringData* pData = GetData();
		pData->Release();
	}
(<atlsimpstr.h>)
Before CFrameWnd::OnCreate function,code is generated by mfc classwizard.I don't do anything, including memory operation. So I don't know why this happens.

Due these code executed comes from mfc classwizard, I create a new SID project without ODBC. Configures excepte database function are the same as the former one. This application works properly. After debugging these two application by step for CFrameWnd::OnCreate function, I find one difference. When it comes to the statement
if (!pView->Create(NULL, NULL, AFX_WS_DEFAULT_VIEW,
		CRect(0,0,0,0), this, nID, pContext))
(<winfrm.cpp>)

the former application goes into CFormView::Create, while the latter one goes into CWnd::Create. I don't know whether the problem is here.

Hope someone could give me some clues or solution,thanks in advance.

If my description is unclear or undetailed, please let me know. Thanks a lot.
AnswerRe: SDI app executes CFrameWnd::OnCreate throwing Invalid Address specified to RtlValidateHeap Pin
Cedric Moonen12-Dec-09 22:18
Cedric Moonen12-Dec-09 22:18 
GeneralRe: SDI app executes CFrameWnd::OnCreate throwing Invalid Address specified to RtlValidateHeap Pin
sharion13-Dec-09 5:48
sharion13-Dec-09 5:48 
QuestionI can't get MAC by GetAdaptersAddresses [modified] Pin
DavidBrother12-Dec-09 4:57
DavidBrother12-Dec-09 4:57 
AnswerRe: I can't get MAC by GetAdaptersAddresses Pin
DavidBrother12-Dec-09 5:27
DavidBrother12-Dec-09 5:27 
GeneralRe: I can't get MAC by GetAdaptersAddresses Pin
Richard MacCutchan12-Dec-09 6:06
mveRichard MacCutchan12-Dec-09 6:06 
AnswerRe: I can't get MAC by GetAdaptersAddresses Pin
Richard MacCutchan12-Dec-09 6:11
mveRichard MacCutchan12-Dec-09 6:11 
GeneralRe: I can't get MAC by GetAdaptersAddresses Pin
DavidBrother12-Dec-09 16:34
DavidBrother12-Dec-09 16:34 
GeneralRe: I can't get MAC by GetAdaptersAddresses Pin
DavidBrother12-Dec-09 17:29
DavidBrother12-Dec-09 17:29 
QuestionTAPI send data Pin
cmos12-Dec-09 2:12
cmos12-Dec-09 2:12 
AnswerRe: TAPI send data Pin
Richard MacCutchan12-Dec-09 2:51
mveRichard MacCutchan12-Dec-09 2:51 
GeneralRe: TAPI send data Pin
cmos12-Dec-09 4:11
cmos12-Dec-09 4:11 
GeneralRe: TAPI send data Pin
Richard MacCutchan12-Dec-09 4:25
mveRichard MacCutchan12-Dec-09 4:25 
GeneralRe: TAPI send data Pin
cmos12-Dec-09 4:36
cmos12-Dec-09 4:36 
GeneralRe: TAPI send data Pin
Richard MacCutchan12-Dec-09 4:53
mveRichard MacCutchan12-Dec-09 4:53 
GeneralRe: TAPI send data Pin
cmos12-Dec-09 5:07
cmos12-Dec-09 5:07 
GeneralRe: TAPI send data Pin
Richard MacCutchan12-Dec-09 6:04
mveRichard MacCutchan12-Dec-09 6:04 
GeneralRe: TAPI send data Pin
cmos12-Dec-09 14:19
cmos12-Dec-09 14:19 

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.