Click here to Skip to main content
14,740,225 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difficulty in getting iterator upon using find algorithm of STL Pin
Jochen Arndt7-Mar-16 22:41
professionalJochen Arndt7-Mar-16 22:41 
QuestionDLL Features Pin
bkelly1324-Feb-16 13:53
Memberbkelly1324-Feb-16 13:53 
AnswerRe: DLL Features Pin
Jochen Arndt24-Feb-16 22:24
professionalJochen Arndt24-Feb-16 22:24 
AnswerRe: DLL Features Pin
Richard MacCutchan24-Feb-16 22:34
mveRichard MacCutchan24-Feb-16 22:34 
Questioncontrol #define directive Pin
p3im4n24-Feb-16 5:34
Memberp3im4n24-Feb-16 5:34 
SuggestionRe: control #define directive Pin
Jochen Arndt24-Feb-16 5:57
professionalJochen Arndt24-Feb-16 5:57 
AnswerRe: control #define directive Pin
Richard MacCutchan24-Feb-16 9:25
mveRichard MacCutchan24-Feb-16 9:25 
QuestionAssertion From SendNotifyMessage Pin
ForNow24-Feb-16 4:28
MemberForNow24-Feb-16 4:28 
I am doing Interprocess communication between a C console app and C++ Windows app
The C console app is the parent process
I have the Window handle (main window MainFrame) of the C++ child app I use SendNotifymessage
to tell the child app that console app has data for it in shared storage
The First time I do this all is well

The Second time around I have created a modless dialog box with a Crichedit control
it is at this time where I get a asseration from the SendNotifyMessage in the console C app

The assetration is dlgcore.cpp
at the parent GetSafeHWnd


		lpDialogTemplate = (DLGTEMPLATE*)GlobalLock(hTemplate);

		// setup for modal loop and creation
		m_nModalResult = -1;
		m_nFlags |= WF_CONTINUEMODAL;

		// create modeless dialog
		AfxHookWindowCreate(this);
		hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,
			pParentWnd->GetSafeHwnd(), AfxDlgProc);
#ifdef _DEBUG
		dwError = ::GetLastError();
#endif
	}
	CATCH_ALL(e)
	{

AnswerRe: Assertion From SendNotifyMessage Pin
Jochen Arndt24-Feb-16 4:50
professionalJochen Arndt24-Feb-16 4:50 
GeneralRe: Assertion From SendNotifyMessage Pin
ForNow24-Feb-16 6:45
MemberForNow24-Feb-16 6:45 
QuestionRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan24-Feb-16 5:00
mveRichard MacCutchan24-Feb-16 5:00 
AnswerRe: Assertion From SendNotifyMessage Pin
ForNow24-Feb-16 6:47
MemberForNow24-Feb-16 6:47 
GeneralRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan24-Feb-16 6:50
mveRichard MacCutchan24-Feb-16 6:50 
GeneralRe: Assertion From SendNotifyMessage Pin
ForNow24-Feb-16 7:04
MemberForNow24-Feb-16 7:04 
GeneralRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan24-Feb-16 7:10
mveRichard MacCutchan24-Feb-16 7:10 
GeneralRe: Assertion From SendNotifyMessage Pin
ForNow24-Feb-16 9:07
MemberForNow24-Feb-16 9:07 
GeneralRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan24-Feb-16 9:22
mveRichard MacCutchan24-Feb-16 9:22 
GeneralRe: Assertion From SendNotifyMessage Pin
ForNow24-Feb-16 13:45
MemberForNow24-Feb-16 13:45 
GeneralRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan24-Feb-16 22:16
mveRichard MacCutchan24-Feb-16 22:16 
GeneralRe: Assertion From SendNotifyMessage Pin
ForNow25-Feb-16 7:18
MemberForNow25-Feb-16 7:18 
GeneralRe: Assertion From SendNotifyMessage Pin
Richard MacCutchan25-Feb-16 7:31
mveRichard MacCutchan25-Feb-16 7:31 
QuestionUsing ShellExecute or CreateProcess caller lose its focus Pin
sdancer7523-Feb-16 9:30
Membersdancer7523-Feb-16 9:30 
AnswerRe: Using ShellExecute or CreateProcess caller lose its focus Pin
Richard Andrew x6423-Feb-16 11:22
professionalRichard Andrew x6423-Feb-16 11:22 
GeneralRe: Using ShellExecute or CreateProcess caller lose its focus Pin
sdancer7523-Feb-16 21:29
Membersdancer7523-Feb-16 21:29 
GeneralRe: Using ShellExecute or CreateProcess caller lose its focus Pin
Richard MacCutchan23-Feb-16 22:17
mveRichard MacCutchan23-Feb-16 22:17 

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.