Where is cmcfg32.lib?
问题 I found a source code on MSDN about how to enable/disable privileges in C++ According to the source code, the linker must include cmcfg32.lib , but it can't be found... I tried to compile without including that lib, it compiles without any error, but when I launch my program, it crashes with a fatal error. So please, if you know which SDK contains cmcfg32.lib, let me know ;) Thanks! 回答1: It looks (to me) like a minor error in the code. Delete the line: #pragma comment(lib, "cmcfg32.lib") Of,