OLE on the Mac

K

Kurt Godwin

Does Office for the Mac have full OLE Automation support like the Windows
versions do? I'm use to using C++ and Automation on Windows, and wondered
if something like this exists on Mac (in XCode??). If so, where can I find
info/examples of how to do this?

Also, what scripting languages support OLE automation for the Mac? It looks
like the newest version of Office 2004 for the Mac supports Applescript, but
I can only find a reference to the fact, not how to make programs, and the
interfaces.
 
D

Dave Hart

Kurt

Yes you can use OLE to automate Office on the Mac,
but it's not as well supported as it is on Windows.
You cannot use MFC, or #import from type libraries,
so you have to make calls the hard way.
I am not aware of any Mac specific info or examples,
but here is one link that might be useful:
http://support.microsoft.com/support/kb/articles/Q216/6/86.ASP

Dave Hart

Does Office for the Mac have full OLE Automation support like the Windows
versions do? I'm use to using C++ and Automation on Windows, and wondered
if something like this exists on Mac (in XCode??). If so, where can I find
info/examples of how to do this?

Also, what scripting languages support OLE automation for the Mac? It looks
like the newest version of Office 2004 for the Mac supports Applescript, but
I can only find a reference to the fact, not how to make programs, and the
interfaces.
 
K

Kurt Godwin

It helps to know that OLE is available on the Mac, but even windows programs
need to talk to an OLE library (CoCreateObject) to load the program and it's
data. So the documentation from that link is useless unless there is a
framework that exports this functionality (and the .h files required to call
it).

I'll browse the software tree and see what I can dig up, but it would be
nice to have a sample program that calls it. One must exist, as I found a
plugin for realbasic that allows access to the office automation
entrypoints.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top