Here is the latest update.
First of all, I might have failed to mention, that the error messages occured in Windows 7, not XP, both in a virtual and in a physical machine. When searching the registration of the files, many referenced that there was permission issues which didn’t help. Even trying to register the files with the System account, failed. This link referenced the below, http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/mshtmldll-was-loaded-but-the-dllregisterserver/c6941f4d-159e-433b-a92f-9d3d0f9c6056
It would be nice to know what files can be registered and what cannot. But that is a different issue.
[quote]I will save you some time and frustration:
The mshtml.dll after Internet Explorer 6 has no entry point for registration.
Unless you are using Internet Explorer 6, those directions will not allow you to unregister or re-register the mshtml.dll file (try it).
Running the scan also will not help you.
[/quote]
I use a Javascript syntax checker and it showed no errors. Then I went through all the source code with JSlint and cleaned up a lot of possible problem areas. The errors still occured randomly when exiting the EXE. Enabling the NoMultiThreading did not really help. It is disabled now.
I commented out some code and tried different things to isolate the problem. After commenting out the popups, the errors did not occur anymore. As a test, I replaced the popups with Javascript popups and the errors never surfaced again. Here is a sampling of one that was changed.
Old Code: src=“graphics/test1.png” border=0 alt=“Test Page 1”/>
New Code: src=“graphics/test1.png” border=0 alt=“Test Page 1”/>
function testwind(){
window.open(‘TestPage_1.htm’,‘test1’,‘scrollbars=yes’,‘width=600,height=400’,‘resizable=no’,‘toolbar=no’,‘location=no’,‘directories=no’,‘status=no’,‘menubar=no’,‘copyhistory=no’);
}
I have the skinning feature turned off and the windows appear to be identical.
I will update this if the errors come back but after pretty extensive testing, I think the issue is resolved.
Thanks,
HawkeyeTX