As we all know, under normal circumstances, the computer wechat client can only open one wechat, if you click again is unable to open the second. Wechat is how to achieve, prohibit a client to open multiple wechat?

OpenMutexA() is called every time wechat is started. Wechat has its own mutex name. If this function returns true, it is found, indicating that wechat has opened one. He won’t let the second one open. If not found, open a new wechat, is this principle to achieve.

In OD (as shown in the picture below), use the shortcut key Ctrl+G to pop up search: CreateMuteW (wechat is a wide character), after searching, press the breakpoint,

After the breakpoint, the function is found with three arguments: a mutex name, a bool value, and a null that he writes

Then use CE to find the other name and change its mutex name, as shown in the following image:

After changing, cancel the breakpoint in OD, and then automatically start a wechat. Then on his computer, click the wechat icon, open, open a wechat. In this way, two wechat is opened to achieve multiple open.

At present, most of the functions have been realized, stable operation, such as: send all kinds of messages, receive all kinds of messages, group tube, download files, add friends, detect zombie powder and other functions, can provide interface, convenient for a variety of languages secondary development, welcome technical exchanges