I used to have that problem since I'm using MC on a computer where I don't have the rights to edit the registry. However, I just installed it a home, exported the correct branch from the registry (I forget which one now) and copied regedit to a disk. Now, before I use MC I just drag the .reg file onto regedit, et voila, all my personal settings, no nag screen, mysterious box with a x in it, or help file!
I'm using 3.50 or something, I really just need the color triggers on that. They delete the registry settings after each logoff and it's very annoying, I don't know why they don't just let us keep our settings.
if (!bWine)
{
// Connect the COleTemplateServer to the document template.
// The COleTemplateServer creates new documents on behalf
// of requesting OLE containers by using information
// specified in the document template.
m_server.ConnectTemplate(clsid, m_pWorldDocTemplate, FALSE);
// Register all OLE server factories as running. This enables the
// OLE libraries to create objects from other applications.
COleTemplateServer::RegisterAll();
// Note: MDI applications register all server objects without regard
// to the /Embedding or /Automation on the command line.
}
The line in bold.
I don't have the other problems with my guest account. It remembered my registration and didn't put up other boxes.
You probably want version 3.57 if you are just carrying around the .exe because that doesn't insist on finding the Lua DLLs.
Actually opening the helpfile and the new installation dialog are the more annoying, in that order, because it never stores the settings and it always thinks it's the first time, and also it can't find the helpfile because i only have the .exe, so it asks me to browse for it.
Ah, I see. Which call is that? Does it still display the box if you pass NULL as the text or something? It's not really that big a problem, just being curious.
I don't do the message, I call the code that eventually does the message. If I remove it then it may fail to register under "normal" situations, like when you really want it to register itself.
When MUSHclient starts up it tries to register itself as an OLE server (so other apps can use the world object in scripting). On the guest account it can't, and the error message string was not in the executable. It should read:
Quote:
Failed to update the system registry.
Please try using REGEDIT.
I'm not sure that is a heap more helpful - try using Regedit to do what?
Hmm, looks like this is why. If you can't edit the registry, it'll do this.
I'm at Cisco now:
Quote: ---------------------------
Registry Editor
---------------------------
Registry editing has been disabled by your administrator.
---------------------------
OK
---------------------------
*nod*
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
OK, this is what I did:
Clean installed WinXP SP2 (although it happens on 2k for me too)
Enabled guest account, logged in as guest.
Copied MC, lua.dll and lualib.dll to the desktop.
Started MC.
Got message box.
Might be. Tomorrow when I am back at Cisco I'll try regedit. Although I'm pretty sure I can edit it, that's what needs to be done in Cisco Networking anyways.
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.