🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.deployment
Article #13

Windows XP and PsApi.dll

#13
From: Danila Vershinin
Date: Tue, 29 Mar 2005 08:57
13 lines
1798 bytes
I use PsApi.dll functions to retrieve a list of running processes on the 
system. Documentation says that exactly PsApi.dll should be used on NT 
systems, so I figured out that this is what I should use (Windows XP is NT, 
right? lol...).. but NOO... the functions do not work exactly the way the 
should, it happens so that some of the processes can not be accessed and 
their names accordingly too.. plus the filenames for some processes are in 
the form /??/FileName which is not good... but that is common problem with 
filenames in psapi.dll, even msdn says smth about that.. there is even some 
code there to convert such filenames...
But still, what is the problem of that DLL? because when I use another DLL - 
tlhelp32 for the same task it shows everything the way it should be...
but the oddest thing is that running VB's samples for the psapi it works 
just fine (still the filenames prob but no access problem) , weird, huh? 
Technical Details
Message-ID: <4249ba0c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,90b6ea930afdcc4b,start
X-Google-Attributes: gidf8e54,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Danila Vershinin" <danprep@yahoo.com>
Newsgroups: borland.public.cppbuilder.deployment
Subject: Windows XP and PsApi.dll
Date: Tue, 29 Mar 2005 12:57:14 +0400
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.95.45.226
Message-ID: <4249ba0c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112128012 80.95.45.226 (29 Mar 2005 12:26:52 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail