Different RegisterWindowMessage() names appear the same

Posted by Mike Trader on Stack Overflow See other posts from Stack Overflow or by Mike Trader
Published on 2010-03-23T12:32:05Z Indexed on 2010/03/23 12:33 UTC
Read the original article Hit count: 160

Filed under:
|
|

Using the C/C++ Windows API RegisterWindowMessage()

I am using the name of the application as the message name.

Next I call CreatMutex() using the same name so that I can tell if it already exists. If it does, I know this application is already running and not to launch a second instance of it. THis is the operation of my function Running()

My confusion is over the message name. It seems that "AutoConvert.exe" and "AutoAppend.exe" are interpreted as the same name. Why?

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi