Link to home
Start Free TrialLog in
Avatar of nedwob
nedwob

asked on

Detecting previous Instances of a Running program

I want to detect if a program is already running. I found an answer to this in an old book but it used the two API calls 'GetModuleHandle' and 'GetModule Usage'.

The 'GetModuleUsage' API no longer exists in the 32 bit environment.

How can I do this in the 32 bit API?

Thanks

nedwob
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nedwob
nedwob

ASKER

Thanks for the quick and elegant answer - goes to show that some things are still simple!

nedwob