Thanks for confirming that guys. I was pretty sure it wouldn't work under
NT, but it's good to try. Guess I should make an NT Virtual Machine under
VMWare at some stage for testing.

The PSAPI calls look to be the answer.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Murtagh
Sent: Wednesday, 3 March 2004 11:21 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Getting Process List on Win98/NT/2000

Bevan Edwards wrote:
> Hi James,
> 
> A little further investigation revealed that I should have included
> TLHELP32.
> 
> Anyway, it failed under NT4 saying "The procedure entry point
> CreateToolhelp32Snapshot could not be located in the dynamic link library
> KERNEL32.DLL", so I guess that answers your question, eh?

The PSDK I've got installed here says that CreateToolhelp32Snapshot is 
supported on Windows 95, 98, Me, 2000, XP, 2000 Server and .Net Server 
2003.  About the only thing it DOESN'T list there is WinNT 3.5 or 4.0, 
so it should run fine on anything but.

Of course I wouldn't put it past the PSDK to be completely wrong about 
that :)

-- 
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to