I am getting the following error while trying to run the .exe of my program using leap sensor. My VI works perfectly fine. The problem is with the .exe only. looking forward for solutions.
%%
Error 1172 occurred at Constructor Node Error creating instance of Controller in assembly Leap.Controller, LeapCSharp.NET3.5, Version=0.0.0.0, Culture=neutral, PublicKeyToken=6e1b1368e71eba9b, (System.TypeInitializationException: The type initializer for 'Leap.LeapPINVOKE' threw an exception.
Inner Exception: System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
Inner Exception: System.DllNotFoundException: Unable to load DLL 'LeapCSharp': The specified module could not be found. (Exception from HRESULT: 0x8007007E))
Possible reason(s):
LabVIEW: A .NET exception occurred in an external assembly. For information about correcting this error, copy the following exception (in bold), and search the Microsoft Developer Network (MSDN) Web site or the Web for a possible explanation.
System.DllNotFoundException in LMH-Leap.lvlib
pen.vi->test.vi
%%
