LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
This is a benign warning, but it is a bit estoteric. It means that your application linked against shell32.lib (either directly or indirectly though another library) but no functions in shell32.dll were actually called. See http://msdn2.microsoft.com/en-US/library/bxwfs976(VS.80).aspx.
What does Link warning LNK4089 mean, and how can I avoid it?
This warning simply means that you are linking against a library and the linker has detected that you are not really using any functions from it. This warning usually only pops when you are making release builds, because the /OPT:REF switch of the linker that's set by default on release builds asks the linker to trim your resulting executable as much possible by avoiding linking unnecessary dlls in. (this makes the import address table of your executable much smaller).
If you don't care about the warning, you can tell the linker to ignore it by adding the /IGNORE:4089 switch to the linker command line from the Project->Settings dialog
'WORK > Sotfware' 카테고리의 다른 글
리눅스 명령어 (0) | 2008.08.21 |
---|---|
Message Handler를 이용하여 Event 추가하기 (0) | 2008.08.21 |
ini 파일 읽고 쓰기 (0) | 2008.07.24 |
ponyprog2000 다운로드 방법 (0) | 2008.07.22 |
ShellExecute와 ShellExecuteEx 를 이용해 프로세스 실행하기! (0) | 2008.07.21 |
댓글