Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 1, 2004 9:42:40 GMT -5
Anyone know how i could make this?
|
|
|
Post by Lazer on May 1, 2004 15:44:53 GMT -5
yes thanks.... i have varius source codes for doing such thing.
|
|
Alexx
New Member
Posts: 15
|
Post by Alexx on May 2, 2004 12:20:08 GMT -5
Wow Pepper and Lazer both got converted to C++...
hehehehe.
I checked and cant find anything to help you..
this is all very new to me (coming back to me, i mean)
all i remmember is you need something from mIRC..
a code for every single DLL made and you add your code inside your function.
|
|
Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 2, 2004 12:40:31 GMT -5
Well ive made a function in c++ code to send stuff to mirc window but i doubt thats it
|
|
Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 4, 2004 1:11:48 GMT -5
i kinda still need help with this! anyone?
|
|
|
Post by Webagent on May 4, 2004 3:34:24 GMT -5
would the source of nHTMLn (dynamic-link library (DLL) for mIRC) help you?
cause you can simply get that, its open source
|
|
Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 4, 2004 5:46:07 GMT -5
it might i just need the basics for sending and reciving commands from mirc
|
|
Alexx
New Member
Posts: 15
|
Post by Alexx on May 4, 2004 10:42:42 GMT -5
paste me what you have and im sure it will all come back to me.
|
|
Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 5, 2004 1:20:24 GMT -5
i got nothing =P
Only some source that finds the mirc window then status window and it sends a msg to it :/ so i can do aliases and such
|
|
|
Post by Dangermouse on May 5, 2004 1:51:14 GMT -5
/help dll support and /help sendmessage
Should be most of what you need
|
|
Pepper
New Member
meep meep...!
Posts: 444
|
Post by Pepper on May 5, 2004 6:26:04 GMT -5
I havent said this before. IM DUMB. need more help than that
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on May 5, 2004 10:07:02 GMT -5
put this in where you compile
int __stdcall nameoffunction(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
then {
}
and depending on how you used the dll (like doing /dll or using $dll() ) you return different things..
if you want it to do something, and return something, like
//echo -a $dll(mydll.dll,WindowsVersion,0)
then you fill the "data" part of the function with it.. like
do your working out then ltsrcpy(data,[the version])
and then do
"return 3;" and close the function..
if you want to do a /dll, then you also fill "data" with a command you want mirc to do.. but you "return 2;"
follow it a bit more??
like
***
int __stdcall [b]author[/b](HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
{
lstrcpy(data,"Pepper");
return 3;
}
then you can do //echo -a $dll(mydll.dll,author,)
or another way is...
int __stdcall [b]author2[/b](HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause)
{
lstrcpy(data,"//echo -a Pepper");
return 2;
}
and that will carry out the command.
Make more sense?
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on May 5, 2004 12:21:21 GMT -5
|
|
|
Post by Lazer on May 5, 2004 12:31:35 GMT -5
so are u staying trad ? or u just poping buy
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on May 5, 2004 16:22:17 GMT -5
havent decided yet
|
|