vshost32.exe crash when calling unmanaged DLL

前端 未结 5 1159
野性不改
野性不改 2020-12-10 08:27

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

5条回答
  •  余生分开走
    2020-12-10 09:14

    I had problem with crashes of vshost32.exe the problem vanished when I checked the checkbox:

    Properties -> Debug -> Enable unmanaged code debugging

    Does it work for you?

    EDIT: In more recent versions the option is called: Enable native code debugging (thanks Qwerty01)

    EDIT: It also seems to help in VS2008 (@Deacon Frost), VS2010 (@Alxandr).

提交回复
热议问题