mIRC Home    About    Download    Register    News    Help

Print Thread
#203528 18/08/08 11:26 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
I've tested on a clean install of mirc 6.34, but i think i've seen the bug appears before this version.

I use win xp, and I've installed the clean mirc on a directory with a empty mirc.ini.In the directory, i've two help file, the mirc.chm and another, mirc.hlp (the file name don't change anything)

1)I've opened the clean mirc
2)I type /mirc.hlp, a shortcut to /winhelp, it open the mirc.hlp, as expected.
3)I close the mirc.hlp file and now I type /help and, as expected, the mirc help file opens.
4)I close the mirc help file, and now, retype /mirc.hlp, but nothing happen, even if mirc fake to be busy as if he should open the mirc.hlp file.

Also, i have a suggestion related to this, since /help open the mirc help file, would be nice to have /mirc not gave priority to the mirc.chm if a mirc.hlp is here.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203532 19/08/08 06:00 AM
Joined: Feb 2007
Posts: 234
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
im using 6.34 and the help files in my $mircdir are mirc.chm and ircintro.chm.

* /mirc.hlp: not connected to server

but /mirc.chm IS a command, yet i could not confirm this bug, windows XP sp2

Wims #203536 19/08/08 09:57 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
And when I tried it, while connected to a server, I got
Quote:
MIRC.HLP Unknown command
, other than that, the help file opened properly using either /mirc.chm or /help

MTec007 #203541 19/08/08 02:27 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Since you don't have a help file mirc.hlp, don't you think it is normal ? You have to try with a .hlp file that is in the .exe directory.

RusselB, do you have a mirc.hlp in the same directory as mirc.exe ?

Note : even in the menubar, under Help > Help file, it won't work.

Last edited by Wims; 19/08/08 02:30 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203542 19/08/08 02:34 PM
Joined: Feb 2007
Posts: 234
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2007
Posts: 234
i dont understand what the problem is, because the help file is mirc.chm where does mirc.hlp come into play? mirc.hlp isnt a mIRC file is it?

edit:

is it is an old mirc help file? if it is, it is outdated, as it was replaced by mirc.chm. i cannot remember if mirc used .hlp files in prior versions.

Last edited by MTec007; 19/08/08 02:37 PM.
Wims #203544 19/08/08 03:56 PM
Joined: Mar 2007
Posts: 218
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218

MIRC.HLP Unknown command
* /winhelp: insufficient parameters

/help works
/mirc.chm works

Vista.

vexed2 #203553 19/08/08 07:30 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
/mirc.hlp is not a command, as people have all been implying.

What exactly is the bug?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
MTec007 #203555 19/08/08 07:56 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
What's the problem with my post lol, no one seems to get it at all.

I have multiple help file in my mirc directory (i'm not using application data folder), mirc.chm, the official mirc help file and some others .HLP file, the bug is about .hlp file...

So you need a .hlp file, that HAVE TO BE in the same folder as the mirc.exe.In my exemple, my help file is mirc.hlp but we don't care about the name, we don't even care about what type of help file it is (here, it's a french mirc help file, that group a lot of tuto, old and non used $ident\command etc..).

The /winhelp as a shortcut in mirc, so it's possible to open a help file by calling it's name file as an alias.For exemple, if you have a file called GaisGA.hlp, /GaisGa or /GaisGa.hlp will open the help file.

To reproduce my bug, you need the mirc help file, mirc.chm, and another help file, but a .hlp.

Originally Posted By: argv0
What exactly is the bug?
I'm not sure this is for me, but the bug is that when mirc.chm is called one time, you can't open any other .hlp file, with the /winhelp command, or even with the menu Help, only /run file.hlp will work

Last edited by Wims; 19/08/08 07:58 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203556 19/08/08 08:55 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
.hlp files are deprecated in windows and no longer supported by the operating system. It's likely that .chm and .hlp files don't co-exist well on a system. This is a windows issue, not mIRC.. I'm positive this happens when you simply open the file without mIRC involved.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #203558 19/08/08 10:19 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
You're probably right about coexisting part.But you're wrong about your last statement, I can have mirc running during long time, run my .hlp file as i want, by the menu, by /winhelp, or by window itselft.And it's only when i run the mirc help file that i can't run .hlp inside mirc (by the menu or winhelp),I can open it with /run or with "window" without any problem.And I'm sure it has worked before.I don't said clearly it's not a window bug, but i've simply some difficulty to said why it worked with previous version of mirc.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203560 20/08/08 01:29 AM
Joined: Jan 2006
Posts: 468
Fjord artisan
Offline
Fjord artisan
Joined: Jan 2006
Posts: 468
Facts:
1. /mirc.hlp is not a command.
2. /winhelp needs a 2nd parameter. use: /winhelp mirc.chm.
3. /mirc.chm is not the official command as mirc.hlp is deprecated.

TaDa! No bug.

symphony #203564 20/08/08 02:11 AM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
You're funny, i never stated that mirc.hlp was a command, i already know how /winhelp works, and again, never stated that mirc.chm was an official command.You seems to miss the point :
Imagine i'm using a dll called cwnd.dll, i have a help file for this dll, cwnd.hlp that is in the same folder as mirc.exe, Now i run mirc, and in the menubar : Help > Help file and i choose cwnd.hlp, i close this help file and by the same method, i open mirc.chm, then i close the mirc help file and reopen the cwnd.hlp and TADA, it won't open.So nothing about any command, right ?

Edit : it's not something to mirc.chm, but rather with all .chm file, so maybe it is not a mirc bug but still annoying.

Last edited by Wims; 20/08/08 02:14 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203578 20/08/08 09:19 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
One little known feature in mIRC is that by typing /<anything> mIRC will run any help file in the mIRC directory that has the filename <anything>, if that command doesn't already have another purpose.

Try this test alias to see what I'm talking about:

Code:
alias test {
  versions.hlp
  return
  :error
  reseterror
  write versions.hlp
  echo -a Error caught, versions.hlp written, now attempting to call /versions.hlp again.
  versions.hlp
}


You can also omit the .hlp|.chm file extension and just use /versions instead.

This is also why /mirc and /ircintro open their respective help files.

Edit: this is more of a reply to everyone stating that /mirc.hlp isn't a command rather than to you Wims.

Last edited by hixxy; 20/08/08 09:21 PM.
hixxy #203579 20/08/08 10:14 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Yes, i have already stated the feature before in this thread, but i'm sure it's a good thing you said it again.Btw, i'll make some test under other $version...


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203718 24/08/08 11:41 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
I've tested under mirc 6.21, were mirc.chm was added, and there is no problem.

Edit : also working on 6.3 6.31 and 6.32, i can confirm the behavior on 6.33 and 6.34, so for me, it's definitively a mirc bug.

Last edited by Wims; 25/08/08 12:00 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203991 03/09/08 11:08 PM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Another bug with /winhelp :
Code:
/winhelp something.hlp "some key"
is the same as
/something.hlp "some key"
But using like that, it will act as /something.hlp some, only the first word is used


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #203995 03/09/08 11:35 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I'm wondering why this bug is being reported on mIRC's help site, when it's obviously a bug with Microsoft's help system.
Microsoft brought in /winhelp and Khaled/mIRC uses that access, not the other way around.

RusselB #203996 04/09/08 12:10 AM
Joined: Jul 2006
Posts: 4,145
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Calling "/winhelp mirc.chm on action" work and is the same as /mirc.chm (the same as /mirc) and the bug isn't when using /winhelp directly but when calling an alias that will be parse by mirc as a winhelp thing (i guess).


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard