What does GetProcAddress() do? According to some forums, it displays a functions address in a DLL.
When I run the above function with appropriate parameters, I get the address of printf as some address A, but if I do cout << printf, get a different address B.
Why?
cout << GetProcAddress(
GetModuleHandle(TEXT("MSVCRT.DLL")),
"printf");
cout << "****" << printf << endl;
@Raymond
yes you are right i was getting the linker addresses in the thunk table…
thank you..