1, LNK4098 warning may cause LNK2019 error

It is because the debugging version of your program is being linked with some system lib without debugging information.

Solution:

When you are using Runtime library, and you want to generate a debug version binary from your code. please set C/C++ code generation->Runtime library to /MTd or /MDd for supporting multithreaded debugging features.

 

2, How to set a break point with condition efficiently?

if(my_condition) {
   _CrtDbgBreak();
}

相关文章: