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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -