var
WordApp: dynamic;
begin
try
WordApp := Marshal.GetActiveObject(‘Word.Application’);
except
WordApp := Activator.CreateInstance(&Type.GetTypeFromProgID(‘Word.Application’));
end;
WordApp.Quit; // OxygeneBinderException: No properties called “Quit” defined on "System.__ComObject"
WordApp.Quit(Missing.Value, Missing.Value, Missing.Value); // OxygeneBinderException: No methods called “Quit” defined on "System.__ComObject"
end;
I use Elements 8.2.89.1909.
I added RemObjects.Elements.Dynamic.dll to references.
I currently use interfaces from Office 2010 but i have a bug when i execute my project on a machine with Office 2013 so now i try to be independant of an Office version.