I have a strange problem that i didn't encounter before i must mention that my main programming language is delphi not c++ and i might do a stupid mistake and don't realise it.
I have the following code :
ULONG myret;
PROCESS_BASIC_INFORMATION PRC;
...
NtQueryInformationProcess(hProcess,ProcessBasicInformation,(PVOID)(&PRC),sizeof(PROCESS_BASIC_INFORMATION),(PULONG)(&myret));
...
I get the following error message :
GetCommandArgs.obj : error LNK2019: unresolved external symbol _NtQueryInformationProcess@20 referenced in function _wmain
What is the problem ? Thanks very much.