Hi,
the Tlhelp32.h is missing this declaration.
BOOL WINAPI CloseToolhelp32Snapshot(
HANDLE hSnapshot
);
the import Library also lacks this symbolic reference,...
MSDN say this:
Remarks
The snapshot returned is a copy of the current state of the system.
To close a snapshot, call the CloseToolhelp32Snapshot function.
Do not call the CloseHandle function to close the snapshot call. That generates a memory leak.
I run the latest Pelles C,...
Regards
Kerem