programming

fixing __NULL_IMPORT_DESCRIPTOR linker warnings

Got a lot of these warnings?

warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in

It's probably because you are including static built libraries which have 'Additional dependencies' on the same .libs as other .libs or your .exe

Solution:

Don't put any 'Additional dependencies' .libs in your static libraries. Only add them as 'Additional dependencies' to your .exe. If you are using someone elses library that does that, tell them to stop it.