Type libraries V's Variants

E

Ed Fallon

I need to access both Word and Excel from within Delphi.Using the Type
library to do it is great and its fast. However the downside comes when one
of our customers updates their version of Office and the Type library
calling routines no longer work because of missing parameters. Does anyone
know of a way to make the process automatic so one could use the correct
type library at compile time?
 
A

Andrei Smolin [Add-in Express]

Hello Ed,

Try importing the type libraries of the lowest Office version that you need
to support. Use late binding to access properties and methods introduced in
later Office versions. For instance, the VCL edition of Add-in Express 2008
for Office uses Office 2000 type libraries.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
www.add-in-express.com
 

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