By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,420 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,420 IT Pros & Developers. It's quick & easy.

CreateToolhelp32Snapshot Page Faults

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.