Solved: http://stackoverflow.com/questions/4025967/cannot-use-managed-event-objects-in-unmanaged-code-error-c3265-c2811