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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)