Re: How to Find Memory Used (IVF 9.1, WinXP)




John S wrote:
I need to stay below the 2 GB limit before allocating some new arrays for
further processing.

Am trying to obtain memory usage inside of a program, so task manager is not
appropriate.

With IVF 9.1, use of: Windows API 'GetProcessMemoryInfo(pid)', where would
the *.mod header be, i.e., USE XXXX for this function ?

Did find how to get the pid but have not found GetProcessMemoryInfo or its
data structure PPROCESS_MEMORY_COUNTERS.

Probably have to write the interface yourself and compile it.

Documentation will be in the Windows SDK. I've not looked at XP, I
presume this is still there, if not there has to be a
replacement/equivalent. MS online documentation is next place to look
if you don't have the SDK doc's locally.

.



Relevant Pages

  • Re: IOCTL_ATA_PASS_THROUGH_DIRECT
    ... but the online documentation of the ... However, my working code ... Philip D. Barila Windows DDK MVP ... Seagate Technology LLC ...
    (microsoft.public.development.device.drivers)
  • Re: Switching from console to Wxwidgets app?
    ... I've grabbed a copy of VS2005 Express and the windows SDK. ... Can I just swap the linker subsystem from Console to Windows ... Instead of changing the project properties from console to windows ...
    (microsoft.public.vc.language)
  • compile with wlanapi.h
    ... I was trying to complie the sample AutoConfig of Windows SDK for Vista. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Directory.GetCurrentDirectory
    ... of Windows CE OS, please take a look at the ".NET Compact FrameWork ... online documentation if you have internet access. ... | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Programmer knowledge
    ... >> detail to users of Windows XP or Win2K? ... > Linux and Windows both suck. ... If I could have the Windows SDK on Linux, ... In fact, what I really want is DWIMOS, and the DWIM programming language. ...
    (comp.programming)