I'm trying to use some of the functions defined in Tlhelp32.h, but I get linker errors (undefined reference) for the functions Process32First and Process32Next. These functions are definitely prototyped in Tlhelp32.h, but what library file is the actual code for them in? MSDN says they're in Kernel32.lib, but it also says that the function CreateToolhelp32Snapshot is in Kernel32.lib as well, and I don't get any linker errors for the snapshot function. Anyone have any insight for me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow...just as a side note, after searching the forum for this subject, I came across a post from July about the exact same problem, but with no responses. So at least now I know I'm not just crazy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to use some of the functions defined in Tlhelp32.h, but I get linker errors (undefined reference) for the functions Process32First and Process32Next. These functions are definitely prototyped in Tlhelp32.h, but what library file is the actual code for them in? MSDN says they're in Kernel32.lib, but it also says that the function CreateToolhelp32Snapshot is in Kernel32.lib as well, and I don't get any linker errors for the snapshot function. Anyone have any insight for me?
Wow...just as a side note, after searching the forum for this subject, I came across a post from July about the exact same problem, but with no responses. So at least now I know I'm not just crazy.