Ok, I think this is the last piece of the puzzle that I need to find before making this work.
for more info.
According to MSDN if two different applications call RegisterWindowMessage() passing the same string they should get the same message.
Well this is not working for me, and it might be because I app is C# and another is C++ DLL. I get different values returned by a call from C++ DLL and from C# (which is importing RegisterWindowMessage() from user32.dll
Is it due to different data types being passed to the function? In C++ I’m passing LPCTSTR, but in C# it’s a string type?!