What is an event recording?

I have a leak handle in a big old program. Using sysinternals handle.exe, I realized that the type of descriptor that flows is the "Event" descriptor. But I'm not sure what parts of my code I should look at. Is there a list of functions that return event descriptors?

EDIT: There are no instances of CreateEvent, CreateEventEx, or OpenEvent in the program.

+5
source share
6 answers

How many of these missing pens do you see?

(. InitializeCriticalSection et.al.) , , Win32, " . , ( ), MFC , .

, . CreateEvent ( ) . , "When Hit..." , , (, . $CALLER). ... . , , .

+2

, CreateEvent/CreateEventEx "Event". , , () .

Event, , CreateEvent (Ex) CloseHandle(). , , , , / (, -, - HANDLE, , ..).

, , , Close() , . , , .


CreateEvent Function @MSDN
CreateEventEx Function @MSDN


CloseHandle @MSDN

+1

, DLL CreateEvent CreateEventEx, Dependency Walker, , DLL:

http://www.dependencywalker.com/ ( )

, , - , .

+1

, , , . , , , , . , - , .

CreateEvent ( ), , , , , .

+1

, , , CreateEvent CreateEventEx. (, WaitForMultipleObjects), , .

. , -, , , CreateEvent (Ex), , , , , .

0

All Articles