<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx</link><description>As part of a little investigation I'm doing at present, I needed to build some simple native XLLs for testing purposes. This was the first time I had a need to build XLLs since the Excel XLL SDK was updated back in September. The updated Excel 2007 XLL</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MSDN Blog Postings  &amp;raquo; Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#6719188</link><pubDate>Mon, 10 Dec 2007 06:53:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6719188</guid><dc:creator>MSDN Blog Postings  » Building an Excel XLL in C/C++ with VS 2008</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2007/12/09/building-an-excel-xll-in-cc-with-vs-2008/"&gt;http://msdnrss.thecoderblogs.com/2007/12/09/building-an-excel-xll-in-cc-with-vs-2008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Invoking Native Excel UDFs From Managed Code (Pt1)</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#6767375</link><pubDate>Fri, 14 Dec 2007 06:58:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6767375</guid><dc:creator>Andrew Whitechapel</dc:creator><description>&lt;p&gt;As part of a little ongoing investigation, I wanted to communicate between a managed add-in and a native&lt;/p&gt;
</description></item><item><title>Invoking Native Excel UDFs From Managed Code (Pt1)</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#6767668</link><pubDate>Fri, 14 Dec 2007 07:44:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6767668</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;As part of a little ongoing investigation, I wanted to communicate between a managed add-in and a native&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#7392262</link><pubDate>Sat, 02 Feb 2008 17:25:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7392262</guid><dc:creator>Steve Dalton</dc:creator><description>&lt;p&gt;There is a memory leak in the function __declspec(dllexport) char* WINAPI GetChars(void). &amp;nbsp;Dynamically allocated strings should be returned using XLOPERs or XLOPER12s and freed using xlAutoFree and xlAutoFree12 repsecitvely.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8345240</link><pubDate>Mon, 31 Mar 2008 11:04:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8345240</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;i can't build this project as your article.&lt;/p&gt;
&lt;p&gt;first report don't have frmwk32.lib, then i delete that from the project's settings. after that it reports that :&lt;/p&gt;
&lt;p&gt;1&amp;gt;xlFunctions.obj : error LNK2019: unresolved external symbol _TempStr12 referenced in function &amp;quot;int __stdcall xlAutoOpen(void)&amp;quot; (?xlAutoOpen@@YGHXZ)&lt;/p&gt;
&lt;p&gt;1&amp;gt;xlFunctions.obj : error LNK2019: unresolved external symbol _Excel12f referenced in function &amp;quot;int __stdcall xlAutoOpen(void)&amp;quot; (?xlAutoOpen@@YGHXZ)&lt;/p&gt;
&lt;p&gt;1&amp;gt;xlFunctions.obj : error LNK2019: unresolved external symbol _debugPrintf referenced in function &amp;quot;int __stdcall xlAutoOpen(void)&amp;quot; (?xlAutoOpen@@YGHXZ)&lt;/p&gt;
&lt;p&gt;1&amp;gt;xlFunctions.obj : error LNK2019: unresolved external symbol _TempInt12 referenced in function &amp;quot;struct xloper12 * __stdcall xlAddInManagerInfo12(struct xloper12 *)&amp;quot; (?xlAddInManagerInfo12@@YGPAUxloper12@@PAU1@@Z)&lt;/p&gt;
&lt;p&gt;can you please tell me how to fix this? thank you. my mail is 361571@qq.com&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8346026</link><pubDate>Mon, 31 Mar 2008 20:59:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8346026</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Yes, I should have pointed out that frmwrk32.lib is the output from the framewrk.sln solution. This solution is part of the Excel SDK, and is installed to a subfolder under &amp;lt;Excel2007XLLSDK install path&amp;gt;\samples\framewrk. You need to build the framewrk.sln to generate the frmwrk32.lib.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8347060</link><pubDate>Tue, 01 Apr 2008 04:36:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8347060</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;thanks ,it works now.&lt;/p&gt;
&lt;p&gt;Mr andreww ,can i talk to you ? do you have any messanger like skype or msn or yahoo messanger ? thank you.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8347140</link><pubDate>Tue, 01 Apr 2008 05:14:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8347140</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;Mr andreww would you please modify this article &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/178474/"&gt;http://support.microsoft.com/kb/178474/&lt;/a&gt; so i can follow your article step by step? i use vs 2008, but i follow this article, i failed.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8349004</link><pubDate>Wed, 02 Apr 2008 00:30:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8349004</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Re Steve Dalton's comment on the &amp;nbsp;memory leak: you're absolutely correct. I've committed the crime of over-simplification. For the purposes of this blog post, I wanted to build up gradually from a simply-typed function to one that uses XLOPERs, but I should have just stuck with XLOPERs in the first place. Thanks for pointing this out.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8350371</link><pubDate>Wed, 02 Apr 2008 11:45:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8350371</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;hi andreww, i a a newbie, i have some questions, i hope you can help me. thank you.&lt;/p&gt;
&lt;p&gt;in c++ &lt;/p&gt;
&lt;p&gt;how to get a workbooks's worksheetss count?&lt;/p&gt;
&lt;p&gt;how to get all worksheets' name ?&lt;/p&gt;
&lt;p&gt;how to get set a cells's value and forluma (need one example)&lt;/p&gt;
&lt;p&gt;how to reference a cell,(in vb, use thisworksheets.cells(a,b).value ...) in c++?&lt;/p&gt;
&lt;p&gt;thank you.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8351807</link><pubDate>Wed, 02 Apr 2008 19:28:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8351807</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Hi Flourishing&lt;/p&gt;
&lt;p&gt;You need to search the documentation for answers to all your questions. The Office 2003 VBA Language Reference is here: &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/bb190882"&gt;http://msdn2.microsoft.com/en-us/library/bb190882&lt;/a&gt;(office.11).aspx&lt;/p&gt;
&lt;p&gt;and the Office 2007 equivalent is here: &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/aa432027.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa432027.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8352751</link><pubDate>Thu, 03 Apr 2008 03:29:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8352751</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;thank you.&lt;/p&gt;
&lt;p&gt;but i want to know how to do that with c++ not vba. can you give me some guid?&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8352777</link><pubDate>Thu, 03 Apr 2008 03:46:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8352777</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;The object model is the same, regardless of which language you're using. Of course, you'll have to convert the code samples into C++, but that should be fairly trivial.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8353315</link><pubDate>Thu, 03 Apr 2008 12:04:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8353315</guid><dc:creator>flourishing</dc:creator><description>&lt;p&gt;thanks. still need your guid.&lt;/p&gt;
&lt;p&gt;i have read many docs.&lt;/p&gt;
&lt;p&gt;in vs2008 if i create a project ,type use mfc dll, the dll builded, excel report not a xll. change to win32dll it's ok. excel can recogize the function in xll.&lt;/p&gt;
&lt;p&gt;but if i want to use objects about excel, docs said only can add the class to mfc project, what can i do ?&lt;/p&gt;
&lt;p&gt;thank you. if you spend some time to complete a sample will be very appreciated. i just want a xll that has a menu, the menu call a function, that function add a formula &amp;quot;=1+1&amp;quot; to all sheets's cell &amp;quot;A5&amp;quot; . it's easy for you, for me is very difficult. i have spend more time on this. please give some help. i'm sorry to disturb you, but there is not many people knows c++ xll develop, i have searched the internet, you are the only man i have found so professional. i hope you can help me.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8458500</link><pubDate>Sun, 04 May 2008 20:05:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8458500</guid><dc:creator>Jordan Blaydes</dc:creator><description>&lt;p&gt;Thanks for the walkthrough Andrew! I am rusty on the C++ side, so I wanted to warn others of my folly: Where andrew instructs you to add the first two C++ project settings, make sure you actually have C++ files in the project (add the .c, .h, and .def files first)- otherwise the tab C++ under project settings will not show up in VS2008!!!&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8591188</link><pubDate>Wed, 11 Jun 2008 14:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8591188</guid><dc:creator>Anand Raj</dc:creator><description>&lt;p&gt;LINK : fatal error LNK1104: cannot open file 'LIBCD.lib'&lt;/p&gt;
&lt;p&gt;wile compiling i received this msg can any one find a solution for this &lt;/p&gt;
&lt;p&gt;by&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8591676</link><pubDate>Wed, 11 Jun 2008 19:49:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8591676</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Anand - libcd.lib is the static library for the debug single threaded version of the C runtime. Visual Studio no longer supports this version of the C runtime: instead you need to use the multi-threaded version (libcmtd.lib) or the dynamically linked version (msvcrtd.lib). You should change your linker settings. Alternatively, install the Microsoft Windows SDK, which includes libcd.lib.&lt;/p&gt;
</description></item><item><title>one question!</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8593860</link><pubDate>Fri, 13 Jun 2008 03:30:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8593860</guid><dc:creator>jerry</dc:creator><description>&lt;p&gt;I want to arbitrarily selected to the ranks of the cell, including the merger of the cell,&lt;/p&gt;
&lt;p&gt;XLOPER xCellRef;&lt;/p&gt;
&lt;p&gt;xCellRef.val.sref.ref.rwFirst,&lt;/p&gt;
&lt;p&gt;xCellRef.val.sref.ref.rwLast,&lt;/p&gt;
&lt;p&gt;xCellRef.val.sref.ref.colFirst,&lt;/p&gt;
&lt;p&gt;xCellRef.val.sref.ref.colLast &lt;/p&gt;
&lt;p&gt;how can I get rwFirst, rwLast, colFirst, colLast?&lt;/p&gt;
&lt;p&gt;thank you very much !&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8598016</link><pubDate>Sat, 14 Jun 2008 20:50:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8598016</guid><dc:creator>Marcus T</dc:creator><description>&lt;p&gt;I am not able to build your example.&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;This is the error message I got:&lt;/p&gt;
&lt;p&gt;1&amp;gt;------ Build started: Project: SimpleXll2007, Configuration: Debug Win32 ------&lt;/p&gt;
&lt;p&gt;1&amp;gt;Linking...&lt;/p&gt;
&lt;p&gt;1&amp;gt; &amp;nbsp; Creating library C:\Users\tanchonghui\Documents\Visual Studio 2005\Projects\SimpleXll2007\Debug\SimpleXll2007.lib and object C:\Users\tanchonghui\Documents\Visual Studio 2005\Projects\SimpleXll2007\Debug\SimpleXll2007.exp&lt;/p&gt;
&lt;p&gt;1&amp;gt;LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library&lt;/p&gt;
&lt;p&gt;1&amp;gt;xlFunctions.obj : error LNK2019: unresolved external symbol _debugPrintf referenced in function _xlAutoOpen@0&lt;/p&gt;
&lt;p&gt;1&amp;gt;C:\Users\tanchonghui\Documents\Visual Studio 2005\Projects\SimpleXll2007\Debug\SimpleXll2007.xll : fatal error LNK1120: 1 unresolved externals&lt;/p&gt;
&lt;p&gt;1&amp;gt;Build log was saved at &amp;quot;file://c:\Users\tanchonghui\Documents\Visual Studio 2005\Projects\SimpleXll2007\SimpleXll2007\Debug\BuildLog.htm&amp;quot;&lt;/p&gt;
&lt;p&gt;1&amp;gt;SimpleXll2007 - 2 error(s), 1 warning(s)&lt;/p&gt;
&lt;p&gt;========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8607988</link><pubDate>Tue, 17 Jun 2008 03:25:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8607988</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;jerry - this is really a question about XLOPERs - and you're more likely to get an accurate answer if you post the question to the Excel programming forum: &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.excel.programming&amp;amp;lang=en&amp;amp;cr=US"&gt;http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.excel.programming&amp;amp;lang=en&amp;amp;cr=US&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8608047</link><pubDate>Tue, 17 Jun 2008 03:41:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8608047</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Marcus - the debugPrintf function is defined in the Excel XLL SDK, and documented here: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/bb687879.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb687879.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Did you forget to add a link dependency on frmwrk32.lib?&lt;/p&gt;
&lt;p&gt;For completeness, here are the commandline link arguments in my project:&lt;/p&gt;
&lt;p&gt;/OUT:&amp;quot;c:\Temp\SimpleXll2007\SimpleXll2007\Debug\SimpleXll2007.xll&amp;quot; /INCREMENTAL /NOLOGO /LIBPATH:&amp;quot;C:\Program Files (x86)\Excel2007XLLSDK\lib&amp;quot; /DLL /MANIFEST /MANIFESTFILE:&amp;quot;Debug\SimpleXll2007.xll.intermediate.manifest&amp;quot; /MANIFESTUAC:&amp;quot;level='asInvoker' uiAccess='false'&amp;quot; /DEF:&amp;quot;c:\Temp\SimpleXll2007\SimpleXll2007\SimpleXll2007.def&amp;quot; /DEBUG /PDB:&amp;quot;c:\Temp\SimpleXll2007\SimpleXll2007\Debug\SimpleXll2007.pdb&amp;quot; /SUBSYSTEM:WINDOWS /DYNAMICBASE /NXCOMPAT /MACHINE:X86 /ERRORREPORT:PROMPT xlcall32.lib frmwrk32.lib &amp;nbsp;kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8620464</link><pubDate>Thu, 19 Jun 2008 09:15:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8620464</guid><dc:creator>jerrydady</dc:creator><description>&lt;p&gt;Hi,andreww,I post the question to the Excel programming forum,&lt;/p&gt;
&lt;p&gt;but nobody answer my question,&lt;/p&gt;
&lt;p&gt;could you tell me other solutions?&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8682298</link><pubDate>Thu, 03 Jul 2008 00:52:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8682298</guid><dc:creator>cpsagman</dc:creator><description>&lt;p&gt;For Marcus T: If you built a release version of frmwrk32.lib then the debugPrintf function will not be included. &amp;nbsp;You need to build a debug version of frmwrk32.lib in order to get debugPrintf. &amp;nbsp;As for the other error, just add /NODEFAULTLIB:MSVCRT to the Linker command line found in Project...Properties...Linker...Command Line. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8847998</link><pubDate>Mon, 11 Aug 2008 15:03:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8847998</guid><dc:creator>John D</dc:creator><description>&lt;p&gt;Hi Andrew, I built and running successfully in Excel 2007. However, I couldn't run it under Excel 2003, I would like my add-in to be backward compatible, do you have any ideas? Thank you.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#8848375</link><pubDate>Mon, 11 Aug 2008 19:20:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8848375</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;John - my post talked specifically about the 2007 version of the XLL SDK. This was updated for Excel 2007 and contains features that obviously only work in Excel 2007 (for example, XLOPER12 or xlAutoRegister12). Full details are in the online SDK documentation I linked to in my post. Specific information on building XLLs that are back-compatible with earlier versions is here: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/bb687884.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb687884.aspx&lt;/a&gt;.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9200740</link><pubDate>Fri, 12 Dec 2008 10:01:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9200740</guid><dc:creator>Mousum Dutta</dc:creator><description>&lt;p&gt;I have created a .XLL with VS2005 and EXCEL2007 SDK. &lt;/p&gt;
&lt;p&gt;1. I have created a MFC share DLL&lt;/p&gt;
&lt;p&gt;2. I have included all necessay files (XLCALL32.LIB, xlcall.h, and all framewrk files (instead of FRMWRK.LIB)&lt;/p&gt;
&lt;p&gt;3. I have included the following in all .cpp file&lt;/p&gt;
&lt;p&gt; &amp;nbsp; a. #include &amp;quot;stdafx'h&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; b. #ifdef _DEBUG&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;#define new DEBUG_NEW&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;#endif&lt;/p&gt;
&lt;p&gt;&amp;quot;xlAutoOpen, xlAddInManagerInfo, xlAutoClose, xlAutoFree&amp;quot; (I have registered only one function)&lt;/p&gt;
&lt;p&gt;are as usual&lt;/p&gt;
&lt;p&gt;but if I open excel and close then it is showing memory leaks&lt;/p&gt;
&lt;p&gt;'EXCEL.EXE': Unloaded 'C:\Program Files\Microsoft Office\Office12\MSOSTYLE.DLL'&lt;/p&gt;
&lt;p&gt;Detected memory leaks!&lt;/p&gt;
&lt;p&gt;Dumping objects -&amp;gt;&lt;/p&gt;
&lt;p&gt;{88} normal block at 0x04D750E8, 10240 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD &lt;/p&gt;
&lt;p&gt;{87} normal block at 0x04D728A8, 10240 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD &lt;/p&gt;
&lt;p&gt;{86} normal block at 0x04D70068, 10240 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD &lt;/p&gt;
&lt;p&gt;{85} normal block at 0x03FFC008, 10240 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; 18 C0 FF 03 CD CD CD CD 02 00 CD CD CD CD CD CD &lt;/p&gt;
&lt;p&gt;{84} normal block at 0x03FF2EC8, 52 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp;x &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; 04 00 00 00 78 11 00 00 08 C0 FF 03 00 00 00 00 &lt;/p&gt;
&lt;p&gt;{83} normal block at 0x03FF2E80, 12 bytes long.&lt;/p&gt;
&lt;p&gt; Data: &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;nbsp;&amp;gt; 01 00 00 00 04 00 00 00 CC 2E FF 03 &lt;/p&gt;
&lt;p&gt;Object dump complete.&lt;/p&gt;
&lt;p&gt;'EXCEL.EXE': Unloaded 'C:\Documents and Settings\mousum.dutta\Desktop\XLLMemLickage\MyXLL\debug\MyXLL.xll'&lt;/p&gt;
&lt;p&gt;I can send the project if you are interested in this problem.&lt;/p&gt;
&lt;p&gt;Mousum Dutta&lt;/p&gt;
&lt;p&gt;mousum.dutta@gmail.com&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9253890</link><pubDate>Sat, 27 Dec 2008 01:06:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9253890</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Mousum - does your UDF use strings? See Steve Dalton's comment about a memory leak bug in my original code (and my response later).&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9344925</link><pubDate>Tue, 20 Jan 2009 12:42:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9344925</guid><dc:creator>amborish</dc:creator><description>&lt;p&gt;I have created a XLL using Excel 2007 SDK. But when i am trying to load the xll in a fresh computer it is not getting loaded for vista with excel 2007 installed. Is anything else is required to load that. It is working for 2003 excel with vista.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9348936</link><pubDate>Tue, 20 Jan 2009 20:07:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9348936</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;amborish - what happens when you click the Browse button in Excel's Add-Ins dialog? Does your XlL get listed in the dialog?&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9449069</link><pubDate>Fri, 27 Feb 2009 19:24:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9449069</guid><dc:creator>D Dey</dc:creator><description>&lt;p&gt;Hi Andrew&lt;/p&gt;
&lt;p&gt;I've tried your XLL - your UDF appears in the formula automplete list. &amp;nbsp;Is it possible to add a screentip too??&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Debs&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9450054</link><pubDate>Sat, 28 Feb 2009 04:32:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9450054</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Debs - no, Excel does not support tooltips for UDFs, only for built-in functions.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9452582</link><pubDate>Sun, 01 Mar 2009 16:34:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9452582</guid><dc:creator>robert meijer</dc:creator><description>&lt;p&gt;Andrew, I have succesfully build an run an exclel xll with vs2008 on my vista 64 machine. It runs both with excel 2007 and 2003 (I take care of XLOPER and XLOPER12,etc). My XLL (C++) does not depend on special external libraries except for the ones you also use and C++ needs. In project setting I used all your setting above for compiling and linking.&lt;/p&gt;
&lt;p&gt;However, excel on another fresh xp 32 machine complains with &amp;quot;noth a valid add in&amp;quot; with a copy of the xll. &lt;/p&gt;
&lt;p&gt;I have set the system path to the place where this xll is, I put it, after experimenting with other locations, in the same directory as xlcall32 is located.&lt;/p&gt;
&lt;p&gt;I have run Dependency Walker and it complained that msvcr90.dll and dwmapi.dll (did not expect this dll!)was missing. These I supplied to the same directory. This, was no remedy.&lt;/p&gt;
&lt;p&gt;Do you have a receipe to create a portable XLL?&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9452949</link><pubDate>Sun, 01 Mar 2009 22:45:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9452949</guid><dc:creator>robert meijer</dc:creator><description>&lt;p&gt;Some dependency walker output...&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
&lt;p&gt;LoadLibraryW(&amp;quot;C:\Documents and Settings\muphy\Bureaublad\bfx\BfX.xll&amp;quot;) called from &amp;quot;EXCEL.EXE&amp;quot; at address 0x3048C029.&lt;/p&gt;
&lt;p&gt;Loaded &amp;quot;BFX.XLL&amp;quot; at address 0x10000000. &amp;nbsp;Successfully hooked module.&lt;/p&gt;
&lt;p&gt;LDR: LdrpWalkImportDescriptor() failed to probe C:\Documents and Settings\muphy\Bureaublad\bfx\BfX.xll for its manifest, ntstatus 0xc0150002&lt;/p&gt;
&lt;p&gt;Unloaded &amp;quot;BFX.XLL&amp;quot; at address 0x10000000.&lt;/p&gt;
&lt;p&gt;LoadLibraryW(&amp;quot;C:\Documents and Settings\muphy\Bureaublad\bfx\BfX.xll&amp;quot;) returned NULL. Error: De toepassing kan niet worden gestart omdat de configuratie van de toepassing onjuist is. Het opnie&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9453773</link><pubDate>Mon, 02 Mar 2009 10:30:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9453773</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Robert - the dependency walker error re dwmapi.dll is probably a red herring. This is a delay-loaded DLL and therefore is not normally loaded unless one of its functions is called - and that won't happen on XP. So this is irrelevant - unless of course you've set compiler options to force-load all delay-loaded DLLs?&lt;/p&gt;
&lt;p&gt;Also, are you dynamically linking to system DLLs that might only get installed with VS (and are therefore not on your clean XP machine)? Try statically linking instead.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9455216</link><pubDate>Tue, 03 Mar 2009 00:24:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9455216</guid><dc:creator>robert meijer</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;I solved the problem.&lt;/p&gt;
&lt;p&gt;I inherited debugPrintf calls from your code, and added some of my own, without thinking of the consequences.&lt;/p&gt;
&lt;p&gt;To solve the problems I put #ifdef arround them all, e.g.&lt;/p&gt;
&lt;p&gt;		#ifdef _DEBUG&lt;/p&gt;
&lt;p&gt;			debugPrintf(&amp;quot;Excel version &amp;quot;);&lt;/p&gt;
&lt;p&gt;			debugPrintf(versie);&lt;/p&gt;
&lt;p&gt;			debugPrintf(&amp;quot;\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;		#endif&lt;/p&gt;
&lt;p&gt;Then your settings above for compiler and linker work fine. I created a straightforward setupproject in which I included the windows installer and de VC++ runtime libraries (X86) as a prerequisite.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9472432</link><pubDate>Fri, 13 Mar 2009 03:46:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9472432</guid><dc:creator>AlexZhang</dc:creator><description>&lt;p&gt;robert meijer said：&lt;/p&gt;
&lt;p&gt;Andrew, I have succesfully build an run an exclel xll with vs2008 on my vista 64 machine. It runs both with excel 2007 and 2003 (I take care of XLOPER and XLOPER12,etc). My XLL (C++) does not depend on special external libraries except for the ones you also use and C++ needs. In project setting I used all your setting above for compiling and linking.&lt;/p&gt;
&lt;p&gt;.......&lt;/p&gt;
&lt;p&gt;Change &amp;quot;LIBRARY SimpleXll2007.xll&amp;quot; to &amp;quot;LIBRARY SimpleXll2007&amp;quot; , worked on XP sp2&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9481296</link><pubDate>Mon, 16 Mar 2009 15:36:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9481296</guid><dc:creator>lois</dc:creator><description>&lt;p&gt;thanks for this example. when I get to the last point, i.e. inserting the functions, I don't see the Simple2007Xll category; this even though I added the Simple2007Xll.xll.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9488734</link><pubDate>Thu, 19 Mar 2009 04:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9488734</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;lois - it's hard to say what might be wrong with your setup.&lt;/p&gt;
&lt;p&gt;In Excel, when you add an XLL in the Add-ins dialog, this adds an entry in HKCU\Software\Microsoft\Office\&amp;lt;version&amp;gt;\Excel\Options named OPEN, OPEN1, OPEN2 etc. This has the value: /R &amp;quot;XXX&amp;quot;, where XXX is the path to your XLL, eg:&lt;/p&gt;
&lt;p&gt;/R &amp;quot;C:\Temp\SimpleXll2007\SimpleXll2007\Debug\SimpleXll2007.xll&amp;quot;&lt;/p&gt;
&lt;p&gt;If you unregister your add-in and then uncheck the box in the Add-ins dialog, Excel will throw up an error dialog: &amp;quot;Cannot find add-in XXX. Delete from list?&amp;quot;. Replying Yes to this prompt will delete the registry key when Excel next shuts down.&lt;/p&gt;
&lt;p&gt;If your XLL is listed in the registry, and shows up in the add-ins dialog, it should also show up in the function wizard - assuming you've registered each function against a function wizard category. In my example, I have arrays of REGISTER parameters in UDFs.h, where each function is registered to the &amp;quot;SimpleXll2007&amp;quot; category. The registration takes place in the xlAutoOpen function in xlFunctions.c.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9554695</link><pubDate>Sat, 18 Apr 2009 01:29:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554695</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;I have also successfully built and run an XLL using VS 08 Express. However, the XLL won't load on another PC unless I install VS 08 Express on it&amp;gt;&lt;/p&gt;
&lt;p&gt;Using Dependency Walker, I can see that there are calls to MSVCRT.DLL and a lot of others libs that are installed by VS 08 Express.&lt;/p&gt;
&lt;p&gt;As I would like to avoid telling the users of my XLL to install VS08, do you know what's the best solution to ensure they have all the required DLLs?&lt;/p&gt;
&lt;p&gt;My code is not calling any DLLs as I'm using only the libs from the SDK framework.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;S&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9555155</link><pubDate>Sat, 18 Apr 2009 21:58:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9555155</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Sylvain - MSVCRT.DLL is the Microsoft C Run-Time library. This used to be deployed as part of the OS, but now more recent versions are deployed instead. You're right that deploying VS to your users' machines is not a reasonable approach. You have a couple of options. &lt;/p&gt;
&lt;p&gt;1. You could continue to dynamically link to msvcrt.dll, and deploy it as a private DLL with your XLL solution.&lt;/p&gt;
&lt;p&gt;2. You could statically link to mscvrt instead. This is probably the simpler approach, as deploying private versions of msvcrt.dll may introduce servicing issues.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9556695</link><pubDate>Mon, 20 Apr 2009 16:46:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556695</guid><dc:creator>Sylvain</dc:creator><description>&lt;p&gt;Andrew,&lt;/p&gt;
&lt;p&gt;MSVCRT(9).DLL is not the only library that is needed on the client machine, and I was actually not able to identify all of them because there are so many (unless I'm doing something wrong).&lt;/p&gt;
&lt;p&gt;Has anyone here deployed VS08 XLL to non-developer machines? If so, how did you link, and what else did you install on the user's machines?&lt;/p&gt;
&lt;p&gt;Thank&lt;/p&gt;
&lt;p&gt;S&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2005</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9700960</link><pubDate>Fri, 05 Jun 2009 10:24:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9700960</guid><dc:creator>Prem</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created a XLL project in VS2005 which calls .Net module using the COM (*.tlb). It runs fine but when i save the excel file in &amp;quot;save as&amp;quot; mode, close and then open a new excel sheet, recovery pane appears with the saved file name. I am not returning any XLOPERS and free'ing any excel returned structure. &lt;/p&gt;
&lt;p&gt;Can anybody suggest where the problem could be?&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9794793</link><pubDate>Sun, 21 Jun 2009 10:15:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9794793</guid><dc:creator>AlexesDad</dc:creator><description>&lt;p&gt;Heres a clip demonstrating how to &amp;nbsp;create a C++ XLL with Visual Studio 2008 &amp;amp; XLW.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.youtube.com/watch?v=_mpw5_JW7T4"&gt;http://www.youtube.com/watch?v=_mpw5_JW7T4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;XLW is free &amp;amp; open source and can be downloaded from here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="https://sourceforge.net/project/showfiles.php?group_id=45222&amp;amp;package_id=37893&amp;amp;release_id=690866"&gt;https://sourceforge.net/project/showfiles.php?group_id=45222&amp;amp;package_id=37893&amp;amp;release_id=690866&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It also allows you create xlls in C#.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9797500</link><pubDate>Mon, 22 Jun 2009 14:38:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9797500</guid><dc:creator>AlexesDad</dc:creator><description>&lt;p&gt;..sorry the link for download should have been &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sourceforge.net/project/showfiles.php?group_id=45222&amp;amp;package_id=37893&amp;amp;release_id=690866"&gt;http://sourceforge.net/project/showfiles.php?group_id=45222&amp;amp;package_id=37893&amp;amp;release_id=690866&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i.e http not https&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9798161</link><pubDate>Mon, 22 Jun 2009 22:08:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798161</guid><dc:creator>James</dc:creator><description>&lt;p&gt;do you need the .objs(memorymanager,etc) when you compile the framework? or do you just need the framewrk.h and the frmwrk32.lib(I want to include them in the same project dir)&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9798202</link><pubDate>Mon, 22 Jun 2009 22:45:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798202</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;James - no, the only binaries you need are the frmwrk32.lib and xlcall32.lib.&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9799547</link><pubDate>Tue, 23 Jun 2009 17:40:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9799547</guid><dc:creator>james</dc:creator><description>&lt;p&gt;I'm getting a &amp;nbsp;&lt;/p&gt;
&lt;p&gt;EXCEL.EXE: 0xC0000005: Access violation writing location&lt;/p&gt;
&lt;p&gt;in TempStr in the framework.&lt;/p&gt;
&lt;p&gt;I need to use TempStr to add a menu at the top or it doesn't register.&lt;/p&gt;
&lt;p&gt;I've been fallowing this as menu adding reference:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/default.aspx/kb/178474"&gt;http://support.microsoft.com/default.aspx/kb/178474&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I use TempStrConst it doesn't crash but it doesn't add the menus any idea on how to solve this?&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9799668</link><pubDate>Tue, 23 Jun 2009 18:57:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9799668</guid><dc:creator>james</dc:creator><description>&lt;p&gt;That's weird I built it about 10 more times and it started adding the menus with TempStrConst, now it can't find the &amp;quot;macros&amp;quot; for the UDF in the dll..&lt;/p&gt;
</description></item><item><title>re: Building an Excel XLL in C/C++ with VS 2008</title><link>http://blogs.msdn.com/andreww/archive/2007/12/09/building-an-excel-xll-in-c-c-with-vs-2008.aspx#9832059</link><pubDate>Mon, 13 Jul 2009 21:15:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832059</guid><dc:creator>ahmed</dc:creator><description>&lt;p&gt;Do anyone know where the reference guide to Excel4()/Excel12() is ? I want to write data to cells but passing through XLCALL.h isn't really helpful because there is no description on what they do.&lt;/p&gt;
</description></item></channel></rss>