vshost32

Any idea what can cause “vshost32.exe has stopped working” in Visual Studio 2013?

て烟熏妆下的殇ゞ 提交于 2019-12-30 20:30:52
问题 A C# WPF application I am working on contains many calls to an unmanaged external DLL. All calls to the DLL work as expected when running the application normally (i.e. outside the Visual Studio debugger). However when debugging from within Visual Studio 2013, a call to one specific method in the DLL crashes the application: This is how I import the method: [DllImport("Client.dll", CallingConvention = CallingConvention.Cdecl)] private static extern string ClientGetVersion(); ...and this is

Any idea what can cause “vshost32.exe has stopped working” in Visual Studio 2013?

我与影子孤独终老i 提交于 2019-12-01 18:10:26
A C# WPF application I am working on contains many calls to an unmanaged external DLL. All calls to the DLL work as expected when running the application normally (i.e. outside the Visual Studio debugger). However when debugging from within Visual Studio 2013, a call to one specific method in the DLL crashes the application: This is how I import the method: [DllImport("Client.dll", CallingConvention = CallingConvention.Cdecl)] private static extern string ClientGetVersion(); ...and this is how I call the DLL method: try { version = ClientGetVersion(); } catch (Exception ex) { // Error handling

VSHost crash, REGDB_E_INVALIDVALUE loading Specific Project

…衆ロ難τιáo~ 提交于 2019-12-01 17:48:18
问题 Whenever I load a solution in Visual Studio with a specific project set as the startup project, I get a VSHost32.exe crash. If I keep on going and launch the application, I get a COMException: {"Invalid value for registry (Exception from HRESULT: 0x80040153 (REGDB_E_INVALIDVALUE))"} With a stacktrace: at System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath() at System.AppDomain.SetupFusionStore(AppDomainSetup info) at System.AppDomain.SetupDomain(Boolean allowRedirects, String

vshost32.exe crash when calling unmanaged DLL

隐身守侯 提交于 2019-11-28 10:31:01
I'm using a VS 2005 app to interface against an unmanaged (Fortran) DLL. When I run the compiled executable straight from the command line, everything is fine - the DLL can be accessed, and I can work with the functions in the DLL. Unfortunately, when I launch the app from VS 2005, I get a popup stating "vshost32.exe has stopped working" and no useful debugging information. Has anyone experienced this behavior, or know why this might be occuring? I can't figure out why it would run fine when launched stand-alone, but not via vshost32. (One last note: I am using .local files to force registered

vshost32.exe crash when calling unmanaged DLL

…衆ロ難τιáo~ 提交于 2019-11-27 05:53:28
问题 I'm using a VS 2005 app to interface against an unmanaged (Fortran) DLL. When I run the compiled executable straight from the command line, everything is fine - the DLL can be accessed, and I can work with the functions in the DLL. Unfortunately, when I launch the app from VS 2005, I get a popup stating "vshost32.exe has stopped working" and no useful debugging information. Has anyone experienced this behavior, or know why this might be occuring? I can't figure out why it would run fine when