windows - How to pass string between applications using SendMessage in C++ -


is possible pass char* between 2 applications using custom message in sendmessage? know possible using wm_copydata, want know if can send using custom message(wm_user + ..)

thank you!

wm_copydata has been invented because ask not feasible directly. because different applications live in different address spaces, pointer passed application has no meaning in one.

wm_copydata deals problem using ipc mechanism under hood, when want share data application; viable options usual ones: pipes, shared memory & co, have here see windows provides.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -