mIRC Home    About    Download    Register    News    Help

Print Thread
#234970 18/11/11 03:39 PM
Joined: Nov 2011
Posts: 52
E
eawedat Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Nov 2011
Posts: 52
hey all,,

1)
if I have VB.NET's code could I convert it to dll and later then
use it in mIRC..
for example if I have the code written in VB.NET

Code:
Messagebox.Show(arg1)


could I convert it to dll then use it either in mIRC's remote with an alias , or from the commandline to write
Code:
/rundll dllName hey


and a message would appear?
---------------------------------------------------------------
2)if I have external executable file! could I run it with passing given parameters from mIRC?

for example if I have application placed in PATH , or in C:\ partition..
to do :
Code:
/runExe c:\hello.exe hi 1 2 3

----------------------------------------------------------------
3)is there a tool that let you convert MCL to dll?
idea: to hide/encrypt the MCL's code for example..
----------------------------------------------------------------

thanks a lot.

eawedat #234977 18/11/11 05:16 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
In regards to question 2, just use: /run path\file params

Note that if there are spaces in the path or filename, you'll need to enclose it in quotes: /run "path with spaces\file" params

As for number 1, I know it's possible, but someone else who has worked with writing DLLs will have to explain how.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #234980 18/11/11 05:31 PM
Joined: Nov 2011
Posts: 52
E
eawedat Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Nov 2011
Posts: 52
Riamus2 thank you , note that the conversion's process from VB.NET's can be done easily! the only thing I need to know how to integrate it with mIRC so mIRC can response and DLL as well in Back.

eawedat #234986 18/11/11 07:45 PM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
if it's a vb.net dll, u will have to use COMs. if it's a C or C++ dll you can use $dll()


I am SReject
My Stuff
Joined: Nov 2011
Posts: 52
E
eawedat Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Nov 2011
Posts: 52
I see,
FroggieDaFrog could you please give a simple example of using COM?
just the way to call the dll with passing arguments/params.



Link Copied to Clipboard