Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ToolHelp32 Functions

47 views
Skip to first unread message

Qiming

unread,
Mar 11, 1997, 3:00:00 AM3/11/97
to

There are no specify lib for toolhelp32, the toolhelp 32 API is implemented
in the kernel32.dll in Win95. That is the reason why you can not use it on
NT. No matter NT 4.0 or 3.51, no toolhelp32 API is implemented.

Qiming Zhu
Qim...@vpeng.com

Johann Klugsberger <klug...@etm.co.at> wrote in article
<332564...@etm.co.at>...
> Hi there!
>
> I'm trying to use the Toolhelp-Functions CreateToolhelp32Snapshot,
> Process32First and Process32Next in NT 4.0. I understand, that they are
> exported by tlhelp32.lib only in W95, I also found the example on the
> MSDN where they get the ProcAddresses in KERNEL32.DLL. I do the same,
> but none of the functions is found!
>
> TIA
>
> Ah, platform is Windows NT 4.0, MSVC 4.2
>
> --
> [ Johann Klugsberger | e-mail: klug...@etm.co.at ]
> [ E T M , Kasernenstr. 29 | Phone: +43 2682 67555-0 ]
> [ A-7000 Eisenstadt Austria | Fax: +43 2682 67555-107 ]
>

Johann Klugsberger

unread,
Mar 11, 1997, 3:00:00 AM3/11/97
to

cho...@aol.com

unread,
Mar 11, 1997, 3:00:00 AM3/11/97
to

>I'm trying to use the Toolhelp-Functions CreateToolhelp32Snapshot,
>Process32First and Process32Next in NT 4.0. I understand, that they are
>exported by tlhelp32.lib only in W95, I also found the example on the
>MSDN where they get the ProcAddresses in KERNEL32.DLL. I do the same,
>but none of the functions is found!
>
>

Hi, I tried the same thing, but ended up using implicit linking with TH32.lib which should be under your "msdev\lib" directory. I ran mine under W95 using VC4.2. I hope this helps.

Jake Tsvilikhovskiy

unread,
Mar 14, 1997, 3:00:00 AM3/14/97
to

--
http://ourworld.compuserve.com/homepages/genat/

Johann Klugsberger <klug...@etm.co.at> wrote in article
<332564...@etm.co.at>...
> Hi there!
>

> I'm trying to use the Toolhelp-Functions CreateToolhelp32Snapshot,
> Process32First and Process32Next in NT 4.0. I understand, that they are
> exported by tlhelp32.lib only in W95, I also found the example on the
> MSDN where they get the ProcAddresses in KERNEL32.DLL. I do the same,
> but none of the functions is found!
>

> TIA
>
> Ah, platform is Windows NT 4.0, MSVC 4.2
>
> --
> [ Johann Klugsberger | e-mail: klug...@etm.co.at ]
> [ E T M , Kasernenstr. 29 | Phone: +43 2682 67555-0 ]
> [ A-7000 Eisenstadt Austria | Fax: +43 2682 67555-107 ]

> --------------------------------------------------

Toolhelp32 does not work under NT.
There is PSAPI.DLL which does almost the same only better.
Look in MSJ August 1996 "Under the Hood"

HTH
Jake


0 new messages