Calling an XLL in C#
I have a XLL Addin (Test.xll). I wish to use this in my C# (VS2008/.Net 3.5) application. If anybody can guide me how to use this in my C# application.
If any开发者_运维技巧body could please guide me how to use this XLL in the C# application, it will be great.
Any help is appreciated.
Regards, Tushar
You'll have to use P/Invoke via static external methods which use the DLL's exports. However, depending on the dependencies in the XLL (especially if it uses some Excel functionality) you may not be able to get this to work properly.
精彩评论