I want to write a program in C or C ++ in Visual Studio that uses only the ntdll library and has no graphical interface. (Import functions only from ntdll.dll)
Can anyone guide me?
my Test code here :
int main()
{
int a = 1;
int b = 2;
return a + b;
}
Update
I made some changes in my project and set "Ignore All Default Libraries" to "yes" , put "ntdll.lib" on "additional dependency" and set "Entry Point" to "main".
But when I try to compile project I receive 3 link errors:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…