0

我在这个链接sqlite-dll-win32-x86-3080600.zip从http://www.sqlite.org下载了一个预编译的 SQLite DLL 。

我可以在调试和发布模式下使用相同的 DLL 吗?有什么区别,怎么可能?我正在使用 Visual C++ 2012 编译器。

4

1 回答 1

1

For the DLL internals to be visible in debug mode, it has to be compiled in debug mode. Otherwise, no debug info will be available (e.g. watch variables, step into, etc.). On the other hand, a DLL compiled in debug mode shouldn't be used for release since it is slower and contains unnecessary code. I am not sure if the existence of the debug functions constitute a security risk, but having additional hooks in your DLL in a production environment doesn't sound safe.

Hope that helps!

于 2014-09-14T02:56:57.777 回答