I have this code here
program Project1; {$APPTYPE CONSOLE} function GetCurrentProcessID : Cardinal; stdcall; external 'kernel32.dll'; begin writeln (GetCurrentProcessID); readln; end.
and this shows me that the entry point GetCurrentProcessID
not found. Any idea why?
I even tried
function GetCurrentProcessID : Cardinal; stdcall; external 'kernel32.dll'; name 'GetCurrentProcessID';
no luck and ...
source share