Hello,
(this is my first post on this forum... so hi everybody)
So, let's see the problem:
For the "story", I installed BotDK, compiled the VBDotNetExample bot and loaded it with BotDK...... All went good, the about and config box opened correctly but...... the auto-answer function didn't work!
(I also modified that after, and conclude that the tweaks in OnMessageReceive/Sent, and OnIncoming/Outgoing convers were not working)
So, from there, I decided to make my own bot with VC++6
after a moment (I didn't touch VC for ages, so I'm not an expert lol), I noted the same problem: My functions (I mean what i call) in the ShowAboutBox and config functions are called correctly (for ex., a messagebox),
But all the functions in the OnMessageReceived/Send etc... are not executed!!!!
so my question is here :
So i was wondering what was going wrong (i asked myself if I did'nt make an error), and finally, I noted that the problem come from BotDK :
With DebugView, when BotDK is loaded (at the MSN connection), I got these debug string:
"[3000] Hooking recv failed!
[3000] Hooking send failed!
[3000] BotDK loaded successfully!
"
So, i conclude that it's a problem with BotDK that don't manage to hook the Socket... (and so, the OnMessageReceive/sent etc functions are not called by BotDK)
Do you know what can I do to solve this problem? or am I doing something wrong?
hoping to be clear, thank you for your help !
PS: if someone knows how to make a plugin with DELPHI, I'm interressted
Moreover, if you know another (better?) manner to intercept (and modify) the messages that are sent and/or received by MSN, I'm curious to know! (I heard that intercepting messages with hooks is very difficult)
and sorry for my bad english :/