mIRC installs to an incorrect directory in XP64 by default. mIRC's installer assumes that it is always "C:\Program Files", which is not necessarily true, such as in XP64.

In XP64, 32-bit programs go into "C:\Program Files (x86)".

This is pretty easy to fix. Use SHGetFolderPath with CSIDL_PROGRAM_FILES. For Win95 compatibility, you'll have to use LoadLibrary on shell32.dll and GetProcAddress SHGetFolderPathA or W. If it's not there, use C:\Program Files.

Melissa


Meow