May 4th, 2009, 07:19 AM
EnumProcessModules API fails with Vista (64 bit system)
We are using API calls for accessing process related information in visual basic 6.0(standard code as in Microsoft & other sites). We get the below mentioned error (using Err. LastDllError) while calling “EnumProcessModules” API in a 64 bit system with windows vista (mostly for 64 bit process ids. Ex: notepad.exe etc). If ”CreateToolhelp32Snapshot” API is called, all the processes are listed. We would like to know whether any workaround or alternate solution is available for “EnumProcessModules” API. Also, is it advisable to use ”CreateToolhelp32Snapshot” API for all operating systems?
Error: “Only a part of the ReadProcessMemory- or WriteProcessMemory…”
May 4th, 2009, 09:46 PM
Re: EnumProcessModules API fails with Vista (64 bit system)
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.