Send IM Without API
Is there a way that i can send an instant message without using the API. The reason being...I want my application to run as an exe file, not a dll add on. And the old API forces me to use the send keys method which will disturb me if im doing something else on the computer.
Would it be possible for me to hook the richtextbox in the contact window and then send text to it?
So far i have mannaged to hook msn and the contact window to create a sub menu, and i have hooked winsock to detect received messages, but now im stuck on how to send messages. Any help would be appreciated, thanks.
EDIT: I'm using vb6...and i know its old...
It will not be easy to do that. The richedit textbox is windowless, so you will not be able to find it using FindWindow.
Why not just use the API?
You might want to search on
http://www.fanatic.net.nz/, it has a lot of resources about this kind of things. I don't think this is legal btw, but I'm not sure.
gamesplant wrote: |
| Is there a way that i can send an instant message without using the API. The reason being...I want my application to run as an exe file, not a dll add on. And the old API forces me to use the send keys method which will disturb me if im doing something else on the computer. Would it be possible for me to hook the richtextbox in the contact window and then send text to it? So far i have mannaged to hook msn and the contact window to create a sub menu, and i have hooked winsock to detect received messages, but now im stuck on how to send messages. Any help would be appreciated, thanks. EDIT: I'm using vb6...and i know its old...
|
|
I have done IM(MSN,YAHOO) Messenger VCL Component here.
You can directly send instant messge without installing MS MSN Messenger.
I think it easily convert it to COM library if you like to purchase a 3rd library.
Please give a look http://www32.websamba.com/bricksoftware/.
--
Peter FZSZ
Bricksoft IM(MSN,YAHOO) Messenger VCL Component
http://www32.websamba.com/bricksoftware/