Integrated ASMLEngineSdk dll and correct IDispose inheritance by casting