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 “EnumProcessMod ules” API in a 64 bit system with windows vista (mostly for 64 bit process ids. Ex: notepad.exe etc). If ”CreateToolhelp 32Snapshot” API is called, all the processes are listed. We would like to know whether any workaround or alternate solution is available for “EnumProcessMod ules” API. Also, is it advisable to use ”CreateToolhelp 32Snapshot” API for all operating systems?
Error: “Only a part of the ReadProcessMemo ry- or WriteProcessMem ory…”
Regards,
Sasie
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 “EnumProcessMod ules” API in a 64 bit system with windows vista (mostly for 64 bit process ids. Ex: notepad.exe etc). If ”CreateToolhelp 32Snapshot” API is called, all the processes are listed. We would like to know whether any workaround or alternate solution is available for “EnumProcessMod ules” API. Also, is it advisable to use ”CreateToolhelp 32Snapshot” API for all operating systems?
Error: “Only a part of the ReadProcessMemo ry- or WriteProcessMem ory…”
Regards,
Sasie