I have an XLL Excel addin and now another team wants to use the same functionality in their project (unmanaged C++). Is there a way to interface with this XLL directly from C++?
相关问题
- Sorting 3 numbers without branching [closed]
- How to compile C++ code in GDB?
- Why does const allow implicit conversion of refere
- thread_local variables initialization
- What uses more memory in c++? An 2 ints or 2 funct
相关文章
- Class layout in C++: Why are members sometimes ord
- How to mock methods return object with deleted cop
- Which is the best way to multiply a large and spar
- C++ default constructor does not initialize pointe
- Selecting only the first few characters in a strin
- What exactly do pointers store? (C++)
- Converting glm::lookat matrix to quaternion and ba
- What is the correct way to declare and use a FILE
Is you XLL un managed or unmanaged code?
As far as I know, an unmanaged C++ XLL file is in fact a DLL that exports specific methods called by Excel.
If your XLL has a .def file, maybe you could add method that would be called by the other team.
You can use GET.WORKSPACE(44) to get a list of the add-ins and their argument signatures. If you no hablo macro sheets, load xllutility.xll from http://sdrv.ms/JtaMIV and call =GET_WORKSPACE(44) in a cell. (Note the underscore.)
The second column is the name of the function and the third is the argument list encoded as described here: http://msdn.microsoft.com/en-us/library/office/bb687900.aspx
Use the handy adjust.xll from the link above to adjust the output to the correct size.