Is it possible to send windows messages (WM_…) to other applications using Mono (assuming that my app is running on Windows)? Another related question is whether there is any way to use DDE inside a Mono app?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
well, if I were you I would strarted from
So just try any “hello_world” sample.
(I haven’t mono right now, sorry for this)
For example you may just compile the following code:
(stolen from http://boycook.wordpress.com/2008/07/29/c-win32-messaging-with-sendmessage-and-wm_copydata/)
I suppose it compiles and it doesn’t thow DllNotFoundException or EntryPointNotFoundException when you call
If you have some issue with this… Hmm.. You may tray to load mscorlib.dll at the runtime.
But this way have bad smell.
Also you may find some details here http://www.mono-project.com/Interop_with_Native_Libraries