The application was unable to start correctly (0xc000007b) Visual Studio C++

后端 未结 2 997
醉话见心
醉话见心 2021-01-24 03:39

I have a simple hello world c++ program which links sqlite3.dll (64 bit version).

I have added sqlite3.h and sqlite3.dll correctly in the respective paths. The projects

2条回答
  •  无人共我
    2021-01-24 04:11

    So as explained in comments, you need to download the DEF file from binary package: https://www.sqlite.org/2015/sqlite-dll-win64-x64-3090100.zip

    Then you need to add this to cl compilation command: /DEF:sqlite3.def

    Now your DLL will have required entries in export table.

提交回复
热议问题