我有一个基于对话框的程序,创建的时候选择了把MFC库作为静态链接。当我编译链接debug版本时一切顺利,可我选择release版本链接时出现警告“LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF”!请问如何解决??
The linker discarded all packaged functions that referenced exports in dynamic-link library. As a result, dynamic-link library and its import library are unneededUse /VERBOSE to see which of your functions the linker is discarding and then remove them from your code.你可以用#program warning(disable,4089)让他不显示
Vc6.0, Project -> Settings -> Link tab -> Category: General -> check "Link Incrementally"
Project -> Settings -> Link tab -> Category:
General -> check "Link Incrementally"