Hi,
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…”
Regards,
Sasie