Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows equivalent of ipcs -m

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
I have a program which uses shared memory in windows. When the program crashes, how do I find out whether the shared memory is still allocated?

On Linux, ipcs -m will show what is allocated and ipcrm will clear it. How do I do this on XP? Anything would be great, even if it is buried in some rarely used menu option in a rarely used Visual Studio utility.
 
So if all the processes using the same area of shared memory die, then that area is automatically freed?
 
Looks like it might do the job - I'll check it out this evening.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top