easiest way of linking ntdll.lib in kernel mode?

I have some undocumented functions being used which need ntdll.lib to be linked. I searched google for a solution but they were all either unclear or very inconvenient. Because I didn't link ntdll.lib, I got the LNK2019 unresolved externals error. What is the easiest way of linking ntdll.lib in kernel mode?
What is the problem? Why don't you link that lib?
I have some undocumented functions being used which need ntdll.lib to be linked. I searched google for a solution but they were all either unclear or very inconvenient. Because I didn't link ntdll.lib, I got the LNK2019 unresolved externals error. What is the easiest way of linking ntdll.lib in kernel mode?


i also have problem like this need help if anyone https://www.mcdvoice.reviews/
Last edited on
You need of course add the lib to the linker settings. For how this is done see:

https://stackoverflow.com/questions/7845886/linking-dll-in-visual-studio
Registered users can post here. Sign in or register to post.