🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17392

GetProcessMemoryInfo-Working But....

#17392
From: CC
Date: Wed, 26 Mar 2003 20:00
14 lines
1126 bytes
I am trying to use

GetProcessMemoryInfo

The module I'm calling it from is a thread.

I pass in Application->Handle to the api,
it returns error message "Invalid handle"

What handle should I use?

Thanks,
CurtC
Technical Details
Message-ID: <3e82069d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2d8d3ce026f4e63b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-26 20:15:38 PST
From: "CC" <Xcurtc@tmscorp.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: GetProcessMemoryInfo-Working But....
Date: Wed, 26 Mar 2003 14:00:04 -0600
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 208.254.250.201
Message-ID: <3e82069d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048708765 208.254.250.201 (26 Mar 2003 11:59:25 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail