What is replacement for GetModuleUsage()

The name seems to have changed.  getModuleUsage was 16 bit, and we're looking for the 32 bit equivalent.

All we need to know is the function name that replaces it.  (Or any other way to get the same result).
Who is Participating?
ckelly5Connect With a Mentor Commented:
the replacements for GetModuleUsage are;
OpenProcess, WaitForSingleObject, GetExitCodeProcess, GetWindowThreadProcessId among others.

If this is a VB application, then a good source code example is found here:

hope it helps!
GarrettLangAuthor Commented:
If there is a more appropriate place to post this, please let me know.

Spawn the child proc with CreateProcess().  You get back a process handle.  If you are trying to defer closing the parent process from closing until the child closes, then pass the proc handle to WaitForSingleObject().  This causes the parent to wait until the return from WaitForSingleObject(), which happens when the child terminates

What are you trying to do?
GarrettLangAuthor Commented:
Thanks for your help!
All Courses

From novice to tech pro — start learning today.