Page 1 of 1

Two Problems

Posted: Tue Aug 14, 2012 12:28 pm
by chumbucket
First, I often lock up when tabbing between UO and Chrome (actually while using IRC via Chrome and the uosecondage.com IRC).

Second, I get the following mesage A LOT while I play:
************** Exception Text **************
System.ComponentModel.Win32Exception: Error creating window handle.
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle()
at System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(Int32 interval)
at System.Windows.Forms.Timer.set_Enabled(Boolean value)
at System.Windows.Forms.Timer.Start()
at Assistant.Timer.ChangedNextTick(Boolean allowImmediate)
at Assistant.Timer.Slice()
at Assistant.MainForm.timerTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Razor
Assembly Version: 1.0.13.4
Win32 Version: 1.0.13.4
CodeBase: file:///C:/Program%20Files%20(x86)/Razor/Razor.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ultima
Assembly Version: 2.0.3.0
Win32 Version: 2.0.3.0
CodeBase: file:///C:/Program%20Files%20(x86)/Razor/Ultima.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Re: Two Problems

Posted: Tue Aug 14, 2012 1:20 pm
by the bazookas
I don't know about the exceptions, but I remember my UO windows on my Windows 7 computer freezing a lot when changing over to other windows. The problem appears to have stopped completely when I changed my Windows 7 theme from an Aero theme (which has transparency) to something else. To do this:
  • Right click on your desktop background
  • Select Personalize
  • Scroll down--there are "Basic and High Contrast Themes", of which I personally selected Windows Classic b/c I'm old school (although I imagine windows 7 basic should work). Anyway, select one of those.
If this doesn't work, note that before I fixed it this way, I did find that if I initiate a razor macro while UO is frozen that it unfreezes it.

I don't know if this will help with the exceptions you are getting. I wonder if you could play with the compatibility settings? I don't use any compatibility mode on my Windows 7 machine, and it seems to work fine.

Re: Two Problems

Posted: Tue Aug 14, 2012 2:23 pm
by chumbucket
the bazookas wrote:I don't know about the exceptions, but I remember my UO windows on my Windows 7 computer freezing a lot when changing over to other windows. The problem appears to have stopped completely when I changed my Windows 7 theme from an Aero theme (which has transparency) to something else. To do this:
  • Right click on your desktop background
  • Select Personalize
  • Scroll down--there are "Basic and High Contrast Themes", of which I personally selected Windows Classic b/c I'm old school (although I imagine windows 7 basic should work). Anyway, select one of those.
If this doesn't work, note that before I fixed it this way, I did find that if I initiate a razor macro while UO is frozen that it unfreezes it.

I don't know if this will help with the exceptions you are getting. I wonder if you could play with the compatibility settings? I don't use any compatibility mode on my Windows 7 machine, and it seems to work fine.
Thanks. I am trying that, but I don't know what compatibility mode is.

Re: Two Problems

Posted: Tue Aug 14, 2012 3:13 pm
by the bazookas
If you right click the Razor shortcut icon and select properties, and then go to the Compatibility tab, you can check the "Run this program in compatibility mode for" button, and try some of the different options there. This could create more problems then it solves, but I think it might be worth a try if you are still running into exceptions.