EnumProcessModules API fails with Vista (64 bit system)
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: EnumProcessModules API fails with Vista (64 bit system)

  1. #1
    Join Date
    Dec 2006
    Posts
    23

    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

  2. #2
    Join Date
    Apr 2009
    Posts
    394

    Re: EnumProcessModules API fails with Vista (64 bit system)

    See if this MS search helps...

    http://social.msdn.microsoft.com/Sea...ssModules&ac=8

    Good Luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center