views:

182

answers:

1

I'm having trouble with a call to CreateToolhelp32Snapshot() from a C++ Windows program, but it only happens in the field -- so far I'm unable to replicate it in the office. I noticed some references to the (undocumented) flag TH32CS_SNAPNOHEAPS online, which I think might help, but the pages turned up in a Google search are all about Windows Mobile applications. Does this flag work in desktop applications? (It's supposed to reduce the memory required by the snapshot.)

A: 

TH32CS_SNAPNOHEAPS is documented in the CE part of MSDN but not the win32 part so I'm assuming it is CE only

Anders