In TProcessEntry32 in jwaTLhelp32 , dwflags is a dword , needs to be changed to a ULONG_PTR to work under x64.
Original Reporter info from Mantis: delphian
-
Reporter name: Justin Smyth
Original Reporter info from Mantis: delphian
- Reporter name: Justin Smyth
Description:
Process32Next Fails Due to error Return as being ERROR_BAD_LENGTH , tried with unpacked record for TProcessEntry32 it shows a change in 4 bytes, changed dwFlag to ULONG_PTR now works ok
Steps to reproduce:
try to Process32First on any x64 platform under windows it will fail, as its expecting 304 bytes not 300.
Mantis conversion info:
- Mantis ID: 16361
- OS: Windows 7 x64
- OS Build: Win7 x64
- Build: Win64
- Platform: Windows 7 x64
- Version: 2.5.1
- Fixed in version: 2.4.2
- Fixed in revision: 15284 (#b02912f0)