Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

Created Unassigned: Problem with SetWindowsHookEx and VLD [10550]

$
0
0
In a DLL which hooks the mouse for all threads with a 'SetWindowsHookEx(WH_MOUSE, MouseHook, hookDLL.m_hInstance, 0);' call and VLD being used, the execution of the above to set the Windows hook causes Visual Studio to crash and close. This is the case even when the hook procedure does nothing but pass the hook onto the next caller with a CallNextHookEx call. If the hook procedure only hooks the mouse for the current thread there is no problem with VLD.

Viewing all articles
Browse latest Browse all 704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>