XLL Add-in

M

mamboknave

I need to understand how to make my C++ functions available in
Excel-2003. I'm using Visual C++ 2008. I'd like to use the most direct
interface, hence I ~believe~ XLL is the way to go, not DLL. Correct?

I tried to Google the topic and I could not spot a very basic
explanation or guidelines. All links assume previous competence on the
topic. I would appreciate is someone can give me directions or a link
where I can start.
 
M

mamboknave

Simon, Thanks!
On a similar note, would you pls tell me what's the difference between
XLL's and Automation Add-Ins, i.e. public functions in COM libraries
to act as User-Defined Functions.
Which is easier to implement? Which performs better in terms of pure
speed?

Regards!
 
S

Simon Murphy

Xlls go through the CAPI to Excel - this is fast.
Automation addins go through the COM interface and so are slower.
Xlls are significantly faster:
http://www.codematic.net/Excel-development/Excel-Visual-studio/visual-studio-excel.htm

Easiest depends on your skillset to an extent, but for most an
automation add-in is the easiest to develop (might be harder to deploy
though)

see here too:
http://smurfonspreadsheets.wordpress.com/2008/09/02/xlls-v-vb6-automation-addins/

Cheers
Simon
Excel development website: www.codematic.net
 

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