Hi all!
Does anyone have working examples of data exchange such as pictures (CF_DIB) or sounds (CF_WAVE) via DDE. All I thought was text messaging (CF_TEXT)
I have quite a number of working DDE stuff. (https://www.jj2007.eu/MasmBasicQuickReference.htm#Mb1084) That is mostly text, however. If you want to exchange binary data, why don't you use WM_COPYDATA? It's elegant and fast.
Ciao,
jj2007!
Grazie mille per il link!
QuoteIf you want to exchange binary data, why don't you use WM_COPYDATA? It's elegant and fast
I am writing a short article about Interproccess Communication with few examples. The examples have already been written:
- WM_COPYDATA,
- clipboard,
- shared memory,
- named pipes,
- mailslots.
There are from the server-application to the client-application sent a customizable text string, simple images and a sound from wav-file are transmitted from in the examples.
Mikl__,
When you are through playing games, use memory mapped files and normal Windows messaging for powerful and fast data and messages.
Memory mapped files give the data area transfer, windows messaging using the HWND_BROADCAST handle allows you to sens instructions from one app to another.
Thanks for the tip, Steve! This will be just a tiny article about the different ways of Interprocess Communication (IPC), it's not commercial work, it's just a curiosity work.
(http://www.yourvamentor.com/blog/wp-content/uploads/2015/08/unnamed-1.jpg)
For WM_COPYDATA, see "Broadcast Usage" here (http://www.flounder.com/wm_copydata.htm). Or try this:
invoke SendMessage, HWND_BROADCAST, WM_CLOSE, 0, 0
Thank you very much for the links again!
Hi Mikl,
where can I see the article later?
Hi
LiaoMi!
Lot thanks for the provided examples!
Quotewhere can I see the article later?
I'm collecting examples now. I think it will post here and wasm.in forum
What is done is done. Do not judge strictly.
Inter Process Communication (https://wasm-in.translate.goog/threads/mezhprocessnoe-vzaimodejstvie.34521/?_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=ru&_x_tr_pto=wapp#post-433529)
Link to the article in Russian
https://wasm.in/threads/mezhprocessnoe-vzaimodejstvie.34521/#post-433529
Cool ! :thumbsup:
But something is wrong with the link in your post, it does not open on click. (http://"https://...)
Now it works. My script blocker was the problem ...
Kind Regards
Greenhorn
Excellent work Mikl__ :thumbsup:
Biterider
QuoteLink to the article in Russian
https://wasm.in/threads/mezhprocessnoe-vzaimodejstvie.34521/#post-433529
I'll bet that there are thousands of MASM32 SDK users who will swarm all over this.
Is there anyone who can help to continue the topic of Interprocess Communications? I need help writing program snippets about using COM (Component Object Model), Windows Socets, Remote Procedure Call (RPC) for IPC
(https://wasm.in/styles/smiles_s/scratch_one-s_head.gif)