471,355 Members | 2,067 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,355 software developers and data experts.

Sending messages

I am sending windoew message from a c# application to c++(unmanage)
application using this code
System.UInt32 rm= RegisterWindowMessage("12345");

System.IntPtr ptr=(IntPtr)HWND_BROADCAST;



but the c++(vc-6 mfc) dont catch the message, when i use the
RegisterWindowMessage("12345"); in the c++ application it return a diffrent
number from that in the c# application why?

Jul 31 '05 #1
0 998

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by prasanna | last post: by
15 posts views Thread by Sven Templin | last post: by
2 posts views Thread by Nis Sarup | last post: by
3 posts views Thread by Riku Kosonen | last post: by
1 post views Thread by robbiesmith79 | last post: by
6 posts views Thread by Jack | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.