Blog

The type initializer for ‘Leap.LeapPINVOKE’ threw an exception

I was getting this exception and i had no clue how to fix it. Took me a while to find the actual cause but i was able to fix the problem so if you get this error just copy all DLL the files from /LeapSDK/lib/x86 or x64 to your C#/vb.net debug folder.

You should be careful on which brand of the SDKyou are going to use. So you should know if you need the x86 or x64.

 

 

Share Button
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>