Monthly Archives: August 2013

$(PlatformToolset)

13Homer pointed out my Visual Studio 2012 libraries were actually built using VS 2010. All I can say is “Doh!” That’s fixed now, just install the latest http://kalx.net/dnload/setup.zip. As an added bonus, you should see the Xll AddIn Project template … Continue reading

Posted in Uncategorized | Leave a comment

J’adoube

I used to be crazy about chess. I spent a lot of time studying it but only managed to get to the USCF Expert level (2000-2200). Roughly equivalent to a Category A player in the Russian ranking system. The highest … Continue reading

Posted in Uncategorized | Leave a comment

Enums

There is a simple mechanism for hooking up C/C++ enums to Excel. Use XLL_ENUM, or XLL_ENUM_DOC if you want have the enumerated value documented using the macro XLL.DOC. There is another way to do this now using a function called … Continue reading

Posted in Uncategorized | Leave a comment

Handling handles

My friend Deane Yang pointed out returning invalid handles as 0 is not the Excel thing to do. Those get propagated down the line to dependent functions which then keep reporting errors. The right way to do it is to … Continue reading

Posted in Uncategorized | Leave a comment