Andrew J Truckle wrote: 

> But there was no clear quick way of stopping it.
> 
> So I have left it.
> > LINK : warning LNK4089: all references to "SHELL32.dll" discarded
> > by /OPT:REF

You're attempting to link against shell32.lib when you don't need it. This
will either be by explicitly including it in the linker settings - I think
it's one of the ones the appwizard throws in by default - or by having a
line

    #pragma comment(lib, "shell32.lib")

somewhere in your code, probably in an included header (e.g. afx.h).

IIRC it's a harmless warning, but you might want to check your binary in
dependency walker - it might be generating a DLL import record without any
imported functions. I think I've seen that too.

Rup.


_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to