468,504 Members | 1,916 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,504 developers. It's quick & easy.

CreateToolhelp32Snapshot Page Faults

The problem lies in the fact that whenever I call

CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0)

a page fault occurs.

The fact is I have a timer set to take a snap-shot per second and the
page faults just go on increasing. It is very well isolated that only
when calling the API the page fault occurs.

Trying to use EnumProcesses but it also causes page faults, less
though.

Anyone got any pointers there?

Sep 27 '06 #1
1 3165
cablitoEscobar wrote:
The problem lies in the fact that whenever I call

CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0)
[...]
Anyone got any pointers there?
news:comp.os.ms-windows.programmer.win32

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Sep 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by benben | last post: by
2 posts views Thread by Dave Kirby | last post: by
1 post views Thread by tbatwork828 | last post: by
2 posts views Thread by Crirus | last post: by
2 posts views Thread by TyBreaker | last post: by
3 posts views Thread by scotp | last post: by
4 posts views Thread by none | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.