Debug and Release

xiaoxiao2021-03-06  39

Yesterday, I used QT-compiled programs to compile operations from True64, and I found that when I quit, I don't know why.

Later, it was found that it may be a debug version and a release version. There is a problem with the memory of the application for the application, if the two versions are inconsistent, there will be problems.

View the version of the executable or dynamic library under NT, with dumpbin gui.exe / dependents, and view information

If there is MSVCRTD.DLL proves to be a debug version, MSVCRT.DLL is a release version.

Several compilation options in NT under the NT:

/ MDD Creates A Debug Multithreaded DLL, Using MSVCRTD.LIB

/ Zi generates completion debugging information

/ NOLOGO SUPPRESS Display of Sign-on Banner

转载请注明原文地址:https://www.9cbs.com/read-69137.html

New Post(0)