When I try to link an .obj file,I get the warning message:
LINK : warning LNK4089: all references to "user32.dll" discarded by /OPT:REF
Why I get this message? (I don't use the /OPT switch)
If I don't use the user32.lib,the linker reports an unresolved external which refers to user32.dll
I think the only solution is to add the /IGNORE:4089 parameter.
Regards,
Vortex
LINK : warning LNK4089: all references to "user32.dll" discarded by /OPT:REF
Why I get this message? (I don't use the /OPT switch)
If I don't use the user32.lib,the linker reports an unresolved external which refers to user32.dll
I think the only solution is to add the /IGNORE:4089 parameter.
Regards,
Vortex
You get this message if you include a lib but don't
call any functions in it. Did you remember to delete
reference to user32.inc AND user32.lib ?
call any functions in it. Did you remember to delete
reference to user32.inc AND user32.lib ?
anon,thanks for your interest,I wrote:
>If I don't use the user32.lib,the linker reports an unresolved external which refers to user32.dll
My program is using the masm32.lib.This library is calling a function from user32.dll,so I have to
use the user32.lib. The solution is very easy:Ignoring the warning by /IGNORE:4089
Regards,
Vortex
>If I don't use the user32.lib,the linker reports an unresolved external which refers to user32.dll
My program is using the masm32.lib.This library is calling a function from user32.dll,so I have to
use the user32.lib. The solution is very easy:Ignoring the warning by /IGNORE:4089
Regards,
Vortex