kanyun157 / giimote

Automatically exported from code.google.com/p/giimote
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Error starting TestApp.exe #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I got this error at starting the downloadable testapplication.

---------------------------
GM .Net Layer: Unhandled Exception
---------------------------
There has been an unhandled exception in the DLL called by the "GM .Net 
Layer". This probably not error created by the "GM .Net Layer". The 
following trace is available:

System.Reflection.TargetInvocationException: Het doel van een aanroep 
heeft een uitzondering veroorzaakt. ---> System.Exception: Wiimote not 
found.

   bij WiimoteLib.Wiimote.Connect()

   bij GiiMoteLib.GiiMote.wm_connect(Double use_alt_write_method)

   --- Einde van intern uitzonderingsstackpad ---

   bij System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object
[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)

   bij System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] 
arguments, Signature sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)

   bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, 
Boolean skipVisibilityChecks)

   bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   bij System.RuntimeType.InvokeMember(String name, BindingFlags 
bindingFlags, Binder binder, Object target, Object[] providedArgs, 
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   bij FuncReal(Double class_handle, SByte* funcname)

When seeking support, please contact the creater of the program and copy 
the complete error message. Press Ctrl+C to copy the message. Press Ok to 
continue or press Cancel to exit the application.
---------------------------
OK   Annuleren   
---------------------------

I'm using the version I downloaded at 13/09/07 on Vista.

Original issue reported on code.google.com by bas_boy_...@hotmail.com on 13 Sep 2007 at 5:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thank you for your feedback, this sounds like an issue with your bluetooth
device/stack. Please try using the alternate write method (wm_connect(1)).

Regards,
- Leif

Original comment by leif902 on 13 Sep 2007 at 10:34

GoogleCodeExporter commented 8 years ago
Should be fixed in new version.

Original comment by leif902 on 28 Oct 2007 at 2:01

GoogleCodeExporter commented 8 years ago

Original comment by leif902 on 2 Dec 2007 at 3:28

GoogleCodeExporter commented 8 years ago
I have version 2.4, and i get an error like that one whenever i start any 
giimote
gmk. This includes the testapp in gmk form, but not the compiled exe version
downloaded from here. My error reads:

---------------------------
GM .Net Layer: Unhandled Exception
---------------------------
There has been an unhandled exception in the "GM .Net Layer". The following 
trace is
available:

System.IO.FileLoadException: Could not load file or assembly 'GiiMote,
Version=2.4.2950.36874, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. This application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this problem.
(Exception from HRESULT: 0x800736B1)

File name: 'GiiMote, Version=2.4.2950.36874, Culture=neutral, 
PublicKeyToken=null'
---> System.Runtime.InteropServices.COMException (0x800736B1): This application 
has
failed to start because the application configuration is incorrect. 
Reinstalling the
application may fix this problem. (Exception from HRESULT: 0x800736B1)

   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, 
Boolean
throwOnFileNotFound, Boolean forIntrospection)

   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)

   at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence
securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean
forIntrospection, StackCrawlMark& stackMark)

   at System.Reflection.Assembly.LoadFrom(String assemblyFile)

   at LoadDll(SByte* filename)

When seeking support, please contact the creater of the program and copy the 
complete
error message. Press Ctrl+C to copy the message. Press Ok to continue or press 
Cancel
to exit the application.
---------------------------
OK   Cancel   
---------------------------

Is it the same problem?

Original comment by afromonk...@googlemail.com on 26 Feb 2008 at 6:31

GoogleCodeExporter commented 8 years ago
I have answered these questions countless times on the GMC and in the FAQ... 
these 
errors are caused when you either a (as in the first example I think) have a 
working 
or compatible bluetooth stack or b (as in the second example above) when you do 
not 
have the .NET Framework Installed or up to date. Please install the .NET 
Framework 
3.5 or higher.

Original comment by leif902 on 26 Feb 2008 at 7:52