Hopefully an easy question...I'm trying to use some code from Delphi in Lazarus. I have "Uses Windows" in my declarations, and other Windows API functions compile and work successfully. However, the following
EnumProcesses(@PIDList, ListSize, cbNeeded);
gives the error "Identifier not found: EnumProcesses". Is Lazarus' support for the Windows API only partial? If so, is there another call I can use to get process ID numbers?
I have hunted around to try to answer this myself, but can't find any reference to this call in the documentation or in Google searches - so, if the declaration is in a unit I haven't installed, I don't know which one.
Thanks for any help.