Exception 0xC0000005 from JNI_CreateJavaVM (jvm.dll)

后端 未结 2 968
暗喜
暗喜 2020-11-27 07:27

I am initializing the Java VM using the following C++ code. JNI_CreateJavaVM throws a 0xC0000005 exception but succeeds none the less if I ignore i

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-27 08:20

    This is normal, like @apangin said. If you want to switch all 0xC0000005 exceptions off in VisualStudio (2017), you can do that:

    1. Exception Settings - Ctrl+Alt+E
    2. Remove tick from: "0xc0000005 Access violation" under Win32 Exceptions

提交回复
热议问题