mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2003
Posts: 36
B
bugx Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 36
Can anyone show me a tutorial/sample for
make my own DLL in VB and use it in mIRC ?

I have 4 days looking for that

Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
Since i see you havent gotten much for replies in either of your posts on this, have you tried asking in a VB channel? /list *VB* or /list *visual*


ParaBrat @#mIRCAide DALnet
Joined: Mar 2003
Posts: 36
B
bugx Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 36
Well, thanks for your answer, but i'm full for search/
try/want and no results, i decide to make this in Delphi, only
see 1 mini-tutorial (the Hello World) and i understand

Since yesterday, i have 6 functions in my DLL

Sorry but my english is not good

wink

Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
you're welcome... and no need to apologize for your english, i understood what you meant smile


ParaBrat @#mIRCAide DALnet
Joined: Apr 2003
Posts: 26
P
Ameglian cow
Offline
Ameglian cow
P
Joined: Apr 2003
Posts: 26
Well basicly it isn't possible to create a normal Win32 DLL in Visual Basic that you can use directly in mIRC. What CAN be done is creating an ActiveX DLL and use mIRC's /comopen etc. functions to gain access to the COM object you create in VB.

Joined: Dec 2002
Posts: 25
T
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 25
Hi

If you message me on IRC (EFNet, nickname trbz on #mIRC) I will send you a sample com dll made in Visual Basic.

Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
uhm, oops - check my other post in the Feature suggestions sections "How to use other langauges in mIRC (In Theory)." You can create and register COM objects using the windows scriptiong host, therefor in any language...

Joined: Apr 2003
Posts: 8
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Apr 2003
Posts: 8
U must make ActiveX or COM-object to run with mIRC i think.

Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
verdamnt! its beyond editing:
https://forums.mirc.com/showflat.php?Cat=...amp;amp;fpart=1

for those who care about the post. I did a tutorial on creating COM objects in Javascript/VBscript & WSH, its a little bleary (lack of coffee... )

Joined: May 2003
Posts: 9
J
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
J
Joined: May 2003
Posts: 9
It is possible to create a standard dll in visual basic. The VB compiler uses an older version of the c compiler. It basicly converts the VB to C and then compiles it (someone correct me if I'm wrong).

To write a dll you just need to tell the compiler to export this function. There is a program valled VBAdvanced or something simillar which allows you to export functions, create resource dll's and other neat stuff VB doesn't allow you access to.

With the tool you can write DLL's which self register themselves. And when you add in Matt Curlands amazing work you can get access to the VBRuntime. (A very nice example is included which I would use).

I don't have the link handy sorry if I find it again i'll post it for yea.

Joined: Apr 2003
Posts: 414
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 414
Heh .. Where i can found some examples ?
Donne pls a link .. Or send at my email pls ..


mIRC Chm Help 6.16.0.3 Full Anchored!
Joined: Jul 2004
Posts: 1
E
Mostly harmless
Offline
Mostly harmless
E
Joined: Jul 2004
Posts: 1
i have a tutorial here: http://www.eminence32.cjb.net/vbdll.html
(it's a little old)


Link Copied to Clipboard