Assign event handler in my COM thread