472,145 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 1982

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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.