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

后端 未结 2 985
醉话见心
醉话见心 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 03:59

    Check if there is another sqlite3.dll in your path. When I tried it, I got the same error. It turns out there is a (32-bit?) sqlite3.dll in my python directory in the %PATH%. Copy the 64-bit dll to the same directory as your executable and run it again.

提交回复
热议问题