Setup?

Oct 11, 2007 at 3:03 PM
Is there anything I need to know before trying to use it? I can run it from any directory and use the sample config, the computer command works, but when I use paste or delete everything I get a .NET errror.

{"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

                            • Exception Text **************
System.DllNotFoundException: Unable to load DLL 'KeySimulator.dll': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
at ManagedKeySimulator.Keyboard.SimulateKeyboard(Byte wKeyToPress, Boolean bPress, Boolean bRelease)
at ManagedKeySimulator.Keyboard.HoldKey(Byte keyToHold)
at VoiceCommander.frmKeySender.sre_SpeechRecognized(Object sender, SpeechRecognizedEventArgs e)
at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs e)


                            • Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VoiceCommander
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Name/Desktop/KeySimulatorVoiceCommander-1.0/KeySimulatorVoiceCommander-1.0/VoiceCommander.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Windows.Forms/2.0.0.0_b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System/2.0.0.0_b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Drawing/2.0.0.0_b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Speech
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6913.0 (vistartmwcp.061013-1925)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Speech/3.0.0.0_31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Xml/2.0.0.0_b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Configuration/2.0.0.0_b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
mphxu8cf
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System/2.0.0.0_b77a5c561934e089/System.dll
----------------------------------------
ManagedKeySimulator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Name/Desktop/KeySimulatorVoiceCommander-1.0/KeySimulatorVoiceCommander-1.0/ManagedKeySimulator.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."}

And the following error in the event log...

Activation context generation failed for "C:\Users\Name\Desktop\KeySimulatorVoiceCommander-1.0\KeySimulatorVoiceCommander-1.0\KeySimulator.dll". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis
Coordinator
Jan 21, 2008 at 5:06 AM
I think the problem is that the KeySimulator.dll file was compiled in Debug mode, so it depends on the debug version of the VC++ runtime.
I'll try to upload it again compiled in Release mode.

Zaiden