Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is replacement for GetModuleUsage()

Posted on 1999-08-06
4
Medium Priority
?
476 Views
Last Modified: 2013-12-28
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).
0
Comment
Question by:GarrettLang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:GarrettLang
ID: 1789349
If there is a more appropriate place to post this, please let me know.

Thanks!
0
 

Accepted Solution

by:
ckelly5 earned 200 total points
ID: 1789350
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:
http://www.mvps.org/vb/code/Shell32.zip

hope it helps!
0
 
LVL 3

Expert Comment

by:sugdenj
ID: 1789351
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?
0
 

Author Comment

by:GarrettLang
ID: 1789352
Thanks for your help!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question