I am trying to make from Raku a call to
GetCurrentProcessId function (processthreadsapi.h)
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessid
It can't find "processthreadsapi.dll".
What dll is GetCurrentProcessId located in?
"T" wrote:
I am trying to make from Raku a call to
GetCurrentProcessId function (processthreadsapi.h)
That's the C header file containing its definition.
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocessid
It can't find "processthreadsapi.dll".
Because it's not a DLL
What dll is GetCurrentProcessId located in?
kernel32.dll
- it says so in the MS docs above.
T,
What dll is GetCurrentProcessId located in?
Its located in Kernel32.dll
Next time when you want to figure it out you could do worse than to search "learn.microsoft.com" for it (perhaps like this : "site:learn.microsoft.com GetCurrentProcessId". Works for several search engines, not just Google),
and than, on the returned MS webpage, look at the "Requirements" box at the bottom. It mostly has a "DLL" entry.
Regards,m
Rudy Wieser
What dll is GetCurrentProcessId located in?
The did the trick. Thank you!
And I FINALLY found it at the bottom of the link
I posted in the "requirements section". Grrrrrr
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 42:01:06 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,792 |