?
Solved

How can see what shared memory regions are mapped for processes on a given machine (win2000)

Posted on 2006-05-15
7
Medium Priority
?
153 Views
Last Modified: 2010-04-13
I have a system with a number of processes that are communicate through a shared memory region.  

I would like to see what processes have which regions, and read the content of those regions.  This is to allow one of the processes to be moved onto another computer using a transport protocol that is already written.  I just need to access the shared region to read the data I want to send over the wire.

This is on Windows 2000.  

Does anyone have any ideas?
0
Comment
Question by:wct32
  • 4
  • 3
7 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 16685746
Sysinternals' 'Process Explorer' (http://www.sysinternals.com/Utilities/ProcessExplorer.html) can do that. Select a process and choose 'View Handles' and look for the ones labeled 'Section'.
0
 

Author Comment

by:wct32
ID: 16694209
I did try Process Explorer before posting the question, but the only thing that I see that mentions handles at all is "find handles of DLL" under the find menu options.  When I right click and open the properties box, I don't see it in there either.

Can you detail exact how I get to the view handles button?

Thanks...
0
 
LVL 86

Expert Comment

by:jkr
ID: 16694333
'View DLLs' and 'View Handles' switch the view mode and the icon changes. Alternatively, go to 'View|Lower Pane View' and select 'View Handles'
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 

Author Comment

by:wct32
ID: 16699068
Thanks - it works.  One more additional thing, is there a fast way to see the contents of the region from this (or another) interface?  I have the examples on how to programatically access it, but I was wondering if it is possible through a tool.

If you can answer this as well, I'll add another 100 points.
0
 
LVL 86

Accepted Solution

by:
jkr earned 1000 total points
ID: 16705423
No, as far as I am aware, there's no utility out there that can do that (that is, WinDbg - MS' kernel debugger - can, but...). Well, it can be done (and I am quite sure I coud do it), but that is *quite* some task - for several days.
0
 

Author Comment

by:wct32
ID: 16709170
Thanks for your help.   Do you do contract work at all?  If so, I'd like to keep your alias on this site in case I have work that you might be interested in.
0
 
LVL 86

Expert Comment

by:jkr
ID: 16711660
>>Do you do contract work at all?

Only programming ;o)
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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
With more and more companies allowing their employees to work remotely, it begs the question: What are some of the security risks involved with remote employees and what actions should we take to secure them?
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

831 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