XLL Excel addin in unmanaged C++
Asked Answered
F

1

13

I have a few mathematical simulations in unmanaged C++ and now I need to integrate them with Excel (so that it is possible to call the functions from Excel and get the values back). I don't want to use any VBA, so I guess I have to implement an XLL addin. I would like to use as few third party additional frameworks as possible. Could someone point me to a good tutorial?

Fash answered 9/6, 2011 at 10:0 Comment(1)
It's more than a tutorial, but this book contains pretty much everything you need to know to write a C++ XLL: amazon.com/Financial-Applications-using-Development-Finance/dp/… . It also has a disk with some code for XLOPER classes that is third-party, but it's source code, and not a heavy framework.Anderegg
W
14

Starting out with the SDK can be a bit unpleasant. I'd suggest you try one of the toolkits:

Of course for managed code, or to make a C# wrapper that calls your unmanaged C++ code from .NET UDFs, you'd use Excel-DNA (http://exceldna.codeplex.com).

Warmonger answered 15/8, 2011 at 20:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.