Page 10 of 14
Re: Scenario Editor
Posted: Thu Aug 25, 2011 1:24 am
by Kalliser

damn crash, it corrected (changed the link) easy to reproduce but it not appear to me until I recompile the whole projet.
Re: Scenario Editor
Posted: Thu Aug 25, 2011 2:14 am
by Michael Slaunwhite
Hi.
It crashes when trying to load a scenario.
[Screenshot]
The attachment error_2011-08-24.jpg is no longer available
Error:
SPOILER: SHOW
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The specified module could not be found
at Gma.UserActivityMonitor.HookManager.EnsureSubscribedToGlobalKeyboardEvents()
at Gma.UserActivityMonitor.GlobalEventProvider.add_KeyDown(KeyEventHandler value)
at Gettysburg.Controls.MapControl.LoadScenario(Scenario scenario, Boolean clearAll)
at Gettysburg.Controls.MapControl.LoadScenario(Scenario scenario)
at Gettysburg.Main.comboBoxItemScenarList_SelectedIndexChanged(Object sender, EventArgs e)
at DevComponents.DotNetBar.ComboBoxItem.ᐾ(Object ن, EventArgs ه)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at DevComponents.DotNetBar.Controls.ComboBoxEx.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at DevComponents.DotNetBar.Controls.ComboBoxEx.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Gettysburg - Scenario Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/NorbSoftDev/Scourge%20of%20War%20-%20Gettysburg/Gettysburg%20-%20Scenario%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 9.5.0.16
Win32 Version: 9.5.0.16
CodeBase: file:///C:/NorbSoftDev/Scourge%20of%20War%20-%20Gettysburg/DevComponents.DotNetBar2.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Gma.UserActivityMonitor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/NorbSoftDev/Scourge%20of%20War%20-%20Gettysburg/Gma.UserActivityMonitor.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.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.
Note: There is no information to pass on to you from the errorlog.txt. It's Empty.
later!
Re: Scenario Editor
Posted: Thu Aug 25, 2011 1:49 pm
by Kalliser
The good news is I know what is the problem, the bad news is it work for me why not for you...

Re: Scenario Editor
Posted: Thu Aug 25, 2011 2:08 pm
by born2see
I got the same error just launching the program. I have .net 4 installed.
The attachment SEError.jpg is no longer available
B
Re: Scenario Editor
Posted: Thu Aug 25, 2011 4:57 pm
by Kalliser
It's not the same error !
grrr
Bah for the first I found a more elegant way to do so it no longer a problem.
Your problem is due to a compilation problem my IDE has remove somes reference by himself, I think you don't have the version I uploaded this morning.
I uploaded a new version of the exe (always in v1.6) this should correct both problems.
Re: Scenario Editor
Posted: Thu Aug 25, 2011 5:18 pm
by Michael Slaunwhite
I got the same error just launching the program. I have .net 4 installed.
SEError.jpg
B
Hey.
Grab the validation tool, and check your Netframework installation.
http://www.norbsoftdev.net/index.php?op ... Itemid=103
Later.
Re: Scenario Editor
Posted: Thu Aug 25, 2011 5:42 pm
by Kalliser
The details I can read from the screenshot says me it's not a framework problem it's the same problem you have yesterday it's a very tricky problem caused by the tird party dll I used in order to catch all keyboard activity.
I have completely removed this dll and don't use it anymore, so the problem should be gone.
Re: Scenario Editor
Posted: Thu Aug 25, 2011 6:09 pm
by Michael Slaunwhite
Hey.
So the version which you now have up for download is the new fixed version? Just wondering because it still says version 1.6.
Later.
Re: Scenario Editor
Posted: Thu Aug 25, 2011 6:11 pm
by Martin James
Just wanted to say thanks for the work you're doing on this Kalliser (& testers). Do please persist with it. Am very much looking forward to using it when you're done.
Martinh
Re: Scenario Editor
Posted: Thu Aug 25, 2011 6:27 pm
by Kalliser
Hey.
So the version which you now have up for download is the new fixed version? Just wondering because it still says version 1.6.
Later.
Yes.
Just wanted to say thanks for the work you're doing on this Kalliser (& testers). Do please persist with it. Am very much looking forward to using it when you're done.
Thanks :laugh: