Programming Embedded Systems in C and C ++ docx

Programming Embedded Systems in C and C ++ docx

Ngày tải lên : 17/03/2014, 13:20
... Serial Controller 149 Chapter 10. Optimizing Your Code 151 10.1 Increasing Code Efficiency 151 10.2 Decreasing Code Size 154 10.3 Reducing Memory Usage 156 10.4 Limiting the Impact of C+ + 157 ... running the same software in a simulator. If Programming Embedded Systems in C and C+ + - 44 - you should see is the C source code for main, with a cursor indicating that the embedded processor's ... development, a special object file that contains the compiled startup code must also be included within this list. (See Startup Code later in this chapter.) The GNU linker also has a scripting language...
  • 187
  • 924
  • 1
Excel Add-in Development in C/C++: Applications in Finance potx

Excel Add-in Development in C/C++: Applications in Finance potx

Ngày tải lên : 17/03/2014, 13:20
... functionality using COM/OLE Automation using C+ + 295 9.5.1 Initialising and un-initialising COM 297 9.5.2 Getting Excel to recalculate worksheets using COM 299 9.5.3 Calling user-defined commands using COM ... 300 9.5.4 Calling user-defined functions using COM 302 9.5.5 Calling XLM functions using COM 303 9.5.6 Calling worksheet functions using COM 303 9.6 Maintaining large data structures within the DLL ... Add -in Development in C/ C++ 1.2.3 C/ C++ DLLs that can access the C API and XLL add-ins If you want your DLL to be able to access the C API, then you need a C or C+ + compiler, as well as the C API...
  • 425
  • 382
  • 0
Steve dalton   excel add in development in c, c++ 2005

Steve dalton excel add in development in c, c++ 2005

Ngày tải lên : 19/03/2014, 14:13
... flavours: interpreted macros and compiled code resources. Version 4 of Excel introduced macro sheets which could contain macros written in the Excel macro language (XLM). These comprised columns of instructions ... functionality using COM/OLE Automation using C+ + 295 9.5.1 Initialising and un-initialising COM 297 9.5.2 Getting Excel to recalculate worksheets using COM 299 9.5.3 Calling user-defined commands using COM ... 300 9.5.4 Calling user-defined functions using COM 302 9.5.5 Calling XLM functions using COM 303 9.5.6 Calling worksheet functions using COM 303 9.6 Maintaining large data structures within the DLL...
  • 425
  • 375
  • 0
Financial Applications Using Excel Add-in Development in C/C++ pdf

Financial Applications Using Excel Add-in Development in C/C++ pdf

Ngày tải lên : 31/03/2014, 10:21
... Search and Replace or Paste Function dialogs 375 9.5 Accessing Excel functionality using COM/OLE automation using C+ + 376 9.5.1 Initialising and un-initialising COM 377 9.5.2 Getting Excel to recalculate ... recalculate worksheets using COM 379 9.5.3 Calling user-defined commands using COM 380 9.5.4 Calling user-defined functions using COM 382 9.5.5 Calling XLM functions using COM 383 9.5.6 Calling ... compiled code resources. Version 4 of Excel introduced macro sheets which could contain macros written in the Excel macro language (XLM). These comprised columns of instructions and calculations that...
  • 587
  • 4.7K
  • 0
Excel Add-in Development in C/C++ pptx

Excel Add-in Development in C/C++ pptx

Ngày tải lên : 27/06/2014, 08:20
... basic insight and a foundation for further reading. Excel recalculates by creating lists of cells which determine the order in which things should be calculated. Excel constructs this by inspecting ... un-initialising COM 297 9.5.2 Getting Excel to recalculate worksheets using COM 299 9.5.3 Calling user-defined commands using COM 300 9.5.4 Calling user-defined functions using COM 302 9.5.5 Calling ... only Function NumCalls 1(d As Double) As Integer CallCount1 = CallCount1 + 1 NumCalls 1 = CallCount1 End Function Pressing {F9} will cause Excel to mark cell B3, containing the volatile function...
  • 425
  • 370
  • 1
Excel Add-in Development in C/C++ Applications in Finance phần 1 ppt

Excel Add-in Development in C/C++ Applications in Finance phần 1 ppt

Ngày tải lên : 05/08/2014, 10:21
... 248 Excel Add -in Development in C/ C++ Applications in Finance Steve Dalton Excel Add -in Development in C/ C++ 12 Excel Add -in Development in C/ C++ Table 2.3 (continued) Literal arrays are enclosed ... 173 8.2.3 Calling Excel worksheet functions in the DLL using Excel4() 174 8.2.4 Calling macro sheet functions from the DLL using Excel4() 176 8.2.5 Calling macro sheet commands from the DLL using Excel4() ... developing add-ins in C/ C++ 82 4.9 Creating a DLL using Visual C+ + 6.0 83 4.9.1 Creating the empty DLL project 83 4.9.2 Adding code to the project 84 4.9.3 Compiling and debugging the DLL 86 4.10 Creating...
  • 40
  • 378
  • 0
Excel Add-in Development in C/C++ Applications in Finance phần 2 pps

Excel Add-in Development in C/C++ Applications in Finance phần 2 pps

Ngày tải lên : 05/08/2014, 10:21
... As Integer CallCount1 = CallCount1 + 1 NumCalls 1 = CallCount1 End Function Pressing {F9} will cause Excel to mark cell B3, containing the volatile function NOW(), for recalculation (see section ... 4 Finally Excel will, again, mark Sheet1 !C1 1 as needing recalculation as a result of Sheet2!B3 changing, and recalculate Sheet1, re-evaluating Sheet1 !C1 1 for the second time including Excel Functionality ... writing commands and is some help with code you might want to include in a function. Section 3.8 on page 71 includes a VB-speci c discussion of the differences between commands and functions. Sections...
  • 49
  • 433
  • 0
Excel Add-in Development in C/C++ Applications in Finance phần 3 pot

Excel Add-in Development in C/C++ Applications in Finance phần 3 pot

Ngày tải lên : 05/08/2014, 10:21
... in the DLL’s .DEF file, in order to be accessible by Excel.) 5.4 WHEN AND IN WHAT ORDER DOES EXCEL CALL THE XLL INTERFACE FUNCTIONS? Table 5.1 XLL interface function calling Action Functions called User ... piece of C code for example: int __stdcall get_num_calls(void) { static int num_calls = 0; return ++num_calls; } Creating a 32-bit Windows (Win32) DLL Using VC 6.0 or VS. NET 91 4.10.2 Adding code ... the VC user interface, the Build menu contains the commands for compiling and linking the DLL and changing the active configuration. The Project menu provides access to a number of project related...
  • 32
  • 443
  • 0
Excel Add-in Development in C/C++ Applications in Finance phần 4 pdf

Excel Add-in Development in C/C++ Applications in Finance phần 4 pdf

Ngày tải lên : 05/08/2014, 10:21
... IsType(xltypeBool);} 102 Excel Add -in Development in C/ C++ Using the C+ + xloper class cpp_xloper, introduced in section 6.4, the above code can be rewritten as follows: xloper * __stdcall xlAddInManagerInfo(xloper ... of pointers to the beginning of each row and then access the elements by off- setting each start-of-row pointer. (Numerical Recipes in C, Chapter 1, contains very clear examples of this kind of ... one that was dynamically allocated in the DLL. ã A static array containing dynamic memory strings will leak memory. ã A DLL-created dynamic array containing Excel-allocated strings requires that...
  • 39
  • 553
  • 1
Excel Add-in Development in C/C++ Applications in Finance phần 5 pptx

Excel Add-in Development in C/C++ Applications in Finance phần 5 pptx

Ngày tải lên : 05/08/2014, 10:21
... within the xloper. How you can avoid using it Declare functions as taking int arguments and/or returning ints: Excel will do the necessary conversions. 178 Excel Add -in Development in C/ C++ Excel4(xlFree, ... they fail to complete successfully. DLL functions accessed via VB that accept Variant arguments, or Accessing Excel Functionality Using the C API 173 The xlfn function being executed will always ... the static keyword in the declaration of pig_array[]. When calling back into Excel using the Excel4() function, Excel versions 97 and later check to see if there is enough space for the worst case (in...
  • 39
  • 474
  • 0

Xem thêm