anyone ever messed with a global setwindowshookex() ? (ie. with a dll). in the hook procedure itself, one has to call callnexthookex() with as one parameter the return code of setwindowshookex(). however, for every instance of the dll, this parameter differs,and yet i have to save em all, and then use em in the dll. problem is, where do i save this parameter? it has to be in the dll itself (shared mem?).. btw, in the bo2k source, he just uses the same parameter from setwindowshookex() for every callnexthook() call, but since copy on write doesnt work on 9x,this seems a bug when ran on these platforms i suppose? any hints of how to fix this prob?
Posted on 2001-04-25 10:46:00 by diediedie