12.07.2015 Views

Excel Add-in Development in C/C++: Applications in ... - F9

Excel Add-in Development in C/C++: Applications in ... - F9

Excel Add-in Development in C/C++: Applications in ... - F9

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

viiiContents4.11 Access<strong>in</strong>g DLL functions from VB 924.12 Access<strong>in</strong>g DLL functions from <strong>Excel</strong> 945 Turn<strong>in</strong>g DLLs <strong>in</strong>to XLLs: The <strong>Add</strong>-<strong>in</strong> Manager Interface 955.1 <strong>Add</strong><strong>in</strong>g the <strong>Excel</strong> library and header files to a DLL project 955.2 What does the <strong>Add</strong>-<strong>in</strong> Manager do? 955.2.1 Load<strong>in</strong>g and unload<strong>in</strong>g <strong>in</strong>stalled add-<strong>in</strong>s 955.2.2 Active and <strong>in</strong>active add-<strong>in</strong>s 965.2.3 Deleted add-<strong>in</strong>s and load<strong>in</strong>g of <strong>in</strong>activate add-<strong>in</strong>s 965.3 Creat<strong>in</strong>g an XLL: The xlAuto <strong>in</strong>terface functions 965.4 When and <strong>in</strong> what order does <strong>Excel</strong> call the XLL <strong>in</strong>terfacefunctions? 975.5 XLL functions called by the <strong>Add</strong>-<strong>in</strong> Manager and <strong>Excel</strong> 985.5.1 xlAutoOpen 985.5.2 xlAutoClose 995.5.3 xlAuto<strong>Add</strong> 995.5.4 xlAutoRemove 1005.5.5 xl<strong>Add</strong>InManagerInfo 1015.5.6 xlAutoRegister 1025.5.7 xlAutoFree 1036 Pass<strong>in</strong>g Data between <strong>Excel</strong> and the DLL 1056.1 Handl<strong>in</strong>g <strong>Excel</strong>’s <strong>in</strong>ternal data structures: C or <strong>C++</strong>? 1056.2 How <strong>Excel</strong> exchanges worksheet data with DLL add-<strong>in</strong> functions 1056.2.1 Native C/<strong>C++</strong> data types 1066.2.2 <strong>Excel</strong> float<strong>in</strong>g-po<strong>in</strong>t array structure: xl_array 1076.2.3 The xloper structure 1116.2.4 The xlref structure 1186.2.5 The xlmref structure 1186.2.6 The oper structure 1196.3 Def<strong>in</strong><strong>in</strong>g constant xlopers 1216.4 A <strong>C++</strong> class wrapper for the xloper – cpp_xloper 1216.5 Convert<strong>in</strong>g between xlopers and C/<strong>C++</strong> data types 1266.6 Convert<strong>in</strong>g between xloper types 1266.7 Convert<strong>in</strong>g between xlopers and Variants 1276.8 Detailed discussion of xloper types 1306.8.1 Free<strong>in</strong>g xloper memory 1316.8.2 Worksheet (float<strong>in</strong>g po<strong>in</strong>t) number: xltypeNum 1326.8.3 Byte-counted str<strong>in</strong>g: xltypeStr 1356.8.4 <strong>Excel</strong> Boolean: xltypeBool 1386.8.5 Worksheet error value: xltypeErr 1406.8.6 <strong>Excel</strong> <strong>in</strong>ternal <strong>in</strong>teger: xltypeInt 1426.8.7 Array (mixed type): xltypeMulti 1456.8.8 Worksheet cell/range reference: xltypeRef andxltypeSRef 1506.8.9 Empty worksheet cell: xltypeNil 1556.8.10 Worksheet b<strong>in</strong>ary name: xltypeBigData 157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!