How do I get an IDispatch interface to an <Officeapp>.Application?

O

Ole Nielsby

I want office automation in a custom scripting language.

I can create Word.Application and Excel.Applicaton objects
but they don't have an IDispatch interface.

How do scripting languages handle this?

Do they use the CreateStdDispatch function, or do they
provide their own wrappers based on DispInvoke?

What happens when methods return other objects? Is there
a simple way to make them IDispatch-able?
 

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