Right now I have an NXOpen ufunc in c#. All it does is open a part file in an external (non-interactive) version of NX. I wrote it using Visual Studio 2013. When I press the Green start arrow in the Visual Studio IDE, the program runs fine. However when I double click the executable, an "System.Runtime.InteropServices.SEHException" exception is thrown. And the method that it is being thrown from is "JAM_SESSION_initialize".