Click here to Skip to main content
15,886,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCoding on hostel mannagement in c program Pin
Member 129807512-Feb-17 21:39
Member 129807512-Feb-17 21:39 
AnswerRe: Coding on hostel mannagement in c program Pin
Jochen Arndt2-Feb-17 22:27
professionalJochen Arndt2-Feb-17 22:27 
AnswerRe: Coding on hostel mannagement in c program Pin
Afzaal Ahmad Zeeshan2-Feb-17 22:34
professionalAfzaal Ahmad Zeeshan2-Feb-17 22:34 
AnswerRe: Coding on hostel mannagement in c program Pin
Patrice T6-Feb-17 15:51
mvePatrice T6-Feb-17 15:51 
QuestionI tried PostMessage as well Pin
ForNow2-Feb-17 16:17
ForNow2-Feb-17 16:17 
AnswerRe: I tried PostMessage as well Pin
Victor Nijegorodov2-Feb-17 22:03
Victor Nijegorodov2-Feb-17 22:03 
AnswerRe: I tried PostMessage as well Pin
leon de boer2-Feb-17 23:48
leon de boer2-Feb-17 23:48 
QuestionIPC Thru WM_COPYDATA Pin
ForNow2-Feb-17 15:52
ForNow2-Feb-17 15:52 
Hi
I have been having intermittent problems notifying a child window process with SendMessage

So I decided to go with the Microsoft Sanctioned way WM_COPYDATA

In my console Parent process I do GetConsoleWindow (which I observe returns what seems

a valid HWND),

I declare a COPYDATASTRUCT member on the stack (locally)

and do SendMessage I have gotten the child window HWND with FindWindow

in my MFC child window I have a messagemap entry

and nothing it never gets there I am running under both the console app and the MFC app

under Visual studio debugger so I can see what's going on

C++
ON_MESSAGE(WM_COPYDATA,Debug_it)

AnswerRe: IPC Thru WM_COPYDATA Pin
Jochen Arndt2-Feb-17 21:36
professionalJochen Arndt2-Feb-17 21:36 
GeneralRe: IPC Thru WM_COPYDATA Pin
ForNow4-Feb-17 16:46
ForNow4-Feb-17 16:46 
GeneralRe: IPC Thru WM_COPYDATA Pin
Jochen Arndt4-Feb-17 23:37
professionalJochen Arndt4-Feb-17 23:37 
GeneralRe: IPC Thru WM_COPYDATA Pin
ForNow5-Feb-17 3:01
ForNow5-Feb-17 3:01 
GeneralRe: IPC Thru WM_COPYDATA Pin
ForNow5-Feb-17 14:19
ForNow5-Feb-17 14:19 
GeneralRe: IPC Thru WM_COPYDATA Pin
Rick York9-Feb-17 6:58
mveRick York9-Feb-17 6:58 
GeneralRe: IPC Thru WM_COPYDATA Pin
ForNow9-Feb-17 8:22
ForNow9-Feb-17 8:22 
AnswerRe: IPC Thru WM_COPYDATA Pin
leon de boer2-Feb-17 23:45
leon de boer2-Feb-17 23:45 
QuestionThr problem of the recursive algorithm to do binary search in a sorted array Pin
alalba2-Feb-17 15:37
alalba2-Feb-17 15:37 
AnswerRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
Midi_Mick2-Feb-17 16:12
professionalMidi_Mick2-Feb-17 16:12 
GeneralRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
alalba2-Feb-17 16:22
alalba2-Feb-17 16:22 
GeneralRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
alalba3-Feb-17 4:05
alalba3-Feb-17 4:05 
AnswerRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
leon de boer2-Feb-17 23:18
leon de boer2-Feb-17 23:18 
GeneralRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
alalba3-Feb-17 4:25
alalba3-Feb-17 4:25 
GeneralRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
leon de boer3-Feb-17 7:12
leon de boer3-Feb-17 7:12 
GeneralRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
alalba3-Feb-17 12:46
alalba3-Feb-17 12:46 
SuggestionRe: Thr problem of the recursive algorithm to do binary search in a sorted array Pin
David Crow3-Feb-17 3:47
David Crow3-Feb-17 3:47 

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.