Article View: borland.public.cppbuilder.deployment
Article #18Re: Windows XP and PsApi.dll
From: Danila Vershinin
Date: Wed, 30 Mar 2005 00:02
Date: Wed, 30 Mar 2005 00:02
38 lines
2745 bytes
2745 bytes
OK, if you would read more accurately... psapi.dll IS PROVIDED with the Windows XP, plus I don't get that remark of yours about Windows 2, lol, I mean Microsoft treats Windows XP as Windows NT 5.1 (another name for XP), yeah tlhelp is ok, but it misses some functionality, and I get the best results when I combine the use of these two dlls. "Ed Mulroy [TeamB]" <dont_email_me@invalid.com> wrote in message news:4249bdd8@newsgroups.borland.com... > No, Windows XP is not NT. XP is no more NT than Windows 3.1 was Windows > 2. > > psapi is supplied by the operating system. If it works differently then > that is because what the operating system supplied works differently. > > XP provides the toolhelp32 api. I suggest that you use it. > > . Ed > >> Danila Vershinin wrote in message >> news:4249ba0c@newsgroups.borland.com... >> >>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:
<4249eca8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4249ba0c@newsgroups.borland.com> <4249bdd8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,90b6ea930afdcc4b X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Danila Vershinin" <danprep@yahoo.com> Newsgroups: borland.public.cppbuilder.deployment References: <4249ba0c@newsgroups.borland.com> <4249bdd8@newsgroups.borland.com> Subject: Re: Windows XP and PsApi.dll Date: Wed, 30 Mar 2005 04:02:44 +0400 Lines: 40 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; Response NNTP-Posting-Host: 80.95.45.241 Message-ID: <4249eca8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112140968 80.95.45.241 (29 Mar 2005 16:02:48 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail