-
Messenger
I need some help with an MSN Messenger MOD. The creator of the Messenger mod used a DLL file editor (Resource Hacker) that allows him to open and edit DLL files. He Opened the MSN Messenger DLL "msgslang.dll" and added simply added a few menus and entries into those menues by typing MENUITEM "Text here" in the proper location. But obviously when those menu items are clicked it doesn't do anything. How would I add commands to those items? The guy doing it doesn't even know how to program except HTML so he wanted me to help him. But his ignorance has even confused me. What he wants to do is have it so that when you click a certain menu item say... "/test" it will either automatically send it to the person you are talking with or it will enter it into the message area text box that you type your message in. How the heck would I do something like this? Any ideas?
(Moderators please delete this in the Network forum.)
-
tsk, tsk...
Edit DLL's to add services to software? You're looking at it from the wrong end of the barrel. If you patch a function with another function, there are many things to consider. Functions expect certain numbers and sizes of parameters - violating this alignment causes the program (and possibly computer itself) to crash. Furthermore, when you intercept a function, you generally should pass it back through the original function at some point (since that function did, after all, have some purpose). The list goes on. Any way, Microsoft offers COM and OLE services thoughout most of their products. Why not use that?
-
http://www.1cplusplusstreet.com/vb/s...=7011&lngWId=3
http://www.codeguru.com/activex/Psapi.html
What he wants to do is have it so that when you click a certain menu item say... "/test" it will either automatically send it to the person you are talking with or it will enter it into the message area text box that you type your message in.
This should be achievable as per the first sample above. I think there is also a COM interface to Messenger which you may be able to use.
-
Ok thanks I'll try these options.