[From: http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html
]
Warning lnk4089: all references to "user32.dll" discarded by/OPT: ref
Development Platform: VC
Error: Warning lnk4089: all references to "user32.dll" discarded by/OPT: ref.
Cause of error: the optimization option is enabled, andProgramUser32.dll is included or added, but no function or method in the library is called. Therefore, the system sends a notification.
Solution: a) This problem usually occurs in the release version. When the release version is compiledCodeOptimization, the program is not actually used, and the library linked in the project is abandoned
Instead of compiling it into the project. Ingore in the input field of link in the Project Settings
Enter the Lib File Name of the Library in libraries. B) Ignore it because it will not affect the program.
ArticleSource: http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html