Solved

Function that get memory associated with some program

Posted on 1998-10-28
3
133 Views
Last Modified: 2010-04-06
I want to know is there some function in WinAPI that retrieves how many memory some program use, may be the used param is Handle.
...may be look like this  GetProgMem(WinAmp.Handle) for
WinAMP
0
Comment
Question by:jpenev1
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 10 total points
ID: 1344719
Hello
i think the api your after is:

globalsize(hMem:HGOBAL):DWORD;

hMem is a handle to the memory object
and dword returns the size of memory object in bytes.
InThe

0
 

Author Comment

by:jpenev1
ID: 1344720
Can you give me example , because I don't know how to use
this variable HGLOBAL, I tried with Application.Handle and
it retrieve 0.
0
 
LVL 17

Expert Comment

by:inthe
ID: 1344721
hi jpenev1
sorry i tried to get example but i to get a 0 all the time ???
Barry

ps did you get it working?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
problem when i try to pack my dll file with upx 9 71
proper way to parse text with delphi 7 101
Create Database on Android via Delphi dbExpress 3 80
Delphi inherited method 6 63
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now