Announcement

Collapse
No announcement yet.

module usage

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • module usage

    I have a hmodule from a winexec call, and I want to
    kill the application if it's just sitting inactive.
    I tried getmoduleusage(hmodule&), but can't find a declaration for it.
    Does anyone know what library it's from? Or another
    way to check for an applications activity?

    Best Regards

    Jim


    ------------------
    Jim Seekamp
    Jim Seekamp

  • #2
    According to the Win32 Help file:
    The GetModuleUsage function has been deleted. Each Win32-based application runs in its own address space.
    You might look at WaitforInputIdle, if you launched the application as a process.

    MCM
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X