mIRC Home    About    Download    Register    News    Help

Print Thread
Limited mIRC COM support #71642 16/02/04 09:07 PM
Joined: Jul 2003
Posts: 12
M
MUTU Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jul 2003
Posts: 12
If you have worked a bit with COM, you now know that dispatch doesn't work, even though there have been instructions on how to use this as early as mIRC 5.91.

I want to make a script that auto-updates itself. I refuse to use sockets - this is not a good way how to do things. I would like to use the IE engine (XMLHTTP object to be exact) to do the downloading. One advantage would be the IE proxy settings would be working.

So after managing to do this, I got to a nasty problem. mIRC has extremely low limitations for saving binary variables. I said I could use the FSO... but no way can that be done until the dispatch problem is solved.

I'm wondering ... by which version will Khaled decide to fix this bug? Do you users not realise the potential in COM? I don't see many users complaining, maybe that's why Khaled doesn't bother...

Re: Limited mIRC COM support #71643 16/02/04 09:26 PM
Joined: Sep 2003
Posts: 70
M
madewokherd Offline
Babel fish
Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
I know what the potential is, but I also know that the example you gave doesn't take advantage of it at all and that COM is difficult for people using languages other than vb to work with.

Re: Limited mIRC COM support #71644 16/02/04 09:31 PM
Joined: Jul 2003
Posts: 12
M
MUTU Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Jul 2003
Posts: 12
That's not an issue, since someone could easily make some aliases that allow you to use COM similarly to how you'd use it in VB/VBScript.

First it needs to be working at least, then we can start to think about improving the code.

Re: Limited mIRC COM support #71645 17/02/04 12:31 AM
Joined: Dec 2003
Posts: 219
F
fxmakers Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
Hi!

You're not alone smile

Here are some threads:
http://forums.mirc.com/showflat.php?Cat=...o=&vc=1
http://forums.mirc.com/showflat.php?Cat=...o=&vc=1
http://forums.mirc.com/showflat.php?Cat=...o=&vc=1
http://forums.mirc.com/showflat.php?Cat=...o=&vc=1
etc...

Lot of people have their COM scripts ready-to-run and COM's dispatch * has been fixed for the next version.
Until that, you can always run your COM script using another language (Perl, PHP, TCL, VB, etc..) and retrieve results from a text file using mIRC.

Re: Limited mIRC COM support #71646 20/02/04 05:35 PM
Joined: Dec 2002
Posts: 25
T
trbz Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 25
The DISPATCH bug has been fixed and it will be working from the next version of mIRC. smile

Re: Limited mIRC COM support #71647 20/02/04 05:37 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
yay smile


New username: hixxy