471,092 Members | 970 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

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 3298
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.