fixed dllexport on win32
Event catching win32