469,129 Members | 1,720 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,129 developers. It's quick & easy.

EnumProcessModules API fails with Vista (64 bit system)

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
May 4 '09 #1
0 1893

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Greg Smith | last post: by
11 posts views Thread by =?Utf-8?B?QXNhZg==?= | last post: by
5 posts views Thread by Nick Tatham | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.