Why am I getting the error LNK2001 unresolved external symbol __imp__ImageNtHeader@4 and how can I resolve it. I'm running a c++ windows console app on x86. And I get this error when running the console app which uses ImageNtHeader in it a few times.