![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| Memory scanning for running programs Hello, Do somebody suggest me an idea, how can I scan the memory for running programs? However the essance of my problem is: I wrote a small program, which is running on the Systray, but I'd like to scan the memory before executing my program, that THIS executing process starts the first instance of the program, and if not, warns the user, or simply restore it from the memory instead of running twice. Thanks, Gabor |
| |
| |||
| Look into the design pattern "Singleton" - you will probably use a MuTex which is setup for multi-threaded instances. It allows only 1 instance at a time. __________________ Day Cares | Golf Courses | Disc Golf Courses | Campgrounds | Ice Rinks | Paintball Fields | Dentists | Plastic Surgeons | Aging Jokes Catholic Churches | Lutheran Churches | Methodist Churches | Episcopal Churches | Clean Jokes |
| The Following 2 Users Say Thank You to ccoonen For This Useful Post: | ||
fergabor (11-14-2007), HelloWorld (11-14-2007) | ||
![]() |
| Thread Tools | |
| Display Modes | |
| |