Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

applications question

Posted on 1998-08-14
1
Medium Priority
?
132 Views
Last Modified: 2010-04-30
Dear Experts,

Is there an API to get a local memory address handle from a Window Handle for an external exe?

-ModX
0
Comment
Question by:modulex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
gaelicwinter earned 120 total points
ID: 1468850
I am assuming you are on Win32.  The answer is no, unfortunately.  Because of the separate memory space for the external exe, your program cannot get access to any memory local to that external exe.  The only way to share memory is to set up a memory mapped file, for which there is ample documentation in the help files.  The other way to communicate across process boundaries, of course, is via rpc (remote procedure calls), which is another can of worms altogether.

Hope this helps.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

715 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