quote:
Originally posted by SmokingCookie
Is that actually possible? Cuz I think the pointer to CBTProc is asynchronous.
As long as the DLL stays loaded, it shouldn't be a problem. (the CBTProc would need to be in the DLL, and you may as well install the hook from inside the DLL as well.)
quote:
Originally posted by ryxdp
but it doesn't seem to be able to find the window, just keeps giving me 0.
Are you sure the class name is "WMP9MediaBarFlyout1342137C" and not just "WMP9MediaBarFlyout"? If the window exists and you've got the class name correct, it *should* be found. How are you determining the class name? Spy++?