Skip to content
Mohamad F ELBawab edited this page Aug 15, 2014 · 31 revisions

To begin development using the NumXL SDK:

  1. In your visual studio:
  2. In solution browser, select your project and expand "references"
  3. right-click on "references" and select "add reference"
  4. Add Reference pops up, select the Browse Tab
  5. Browse the filesystem to your installation directory, and select "NumXLAPI.dll"
  6. Click OK.
  7. Save
  8. In the solution browser,
  9. Select "NumXLAPI" under references, right-click and select properties.
  10. In the properties window, set "Copy Local" to False.
  11. Using the Configuration manager, create a configuration for x86 and/or x64 platforms.
  12. In Solution browser, select your project, right-click and select properties
  13. Select the build tab
  14. Select Configuration to All, and Platform to "x86 or x64"
  15. Set the "Output Path" to your installation directory.
  16. Save
  17. Develop your application as usual.

Note: See the examples folder for numerous complete examples.


Common Issues:

Q1. Which Platform should I use?
[Answer] In general, the Windows and the NumXL SDK platform (i.e. 32 or 64-bit) determines the supported platform of your application:

  1. On a 32-bit windows machine, you can only use the 32-bit NumXL SDK. In this case, use x86 (or Any CPU) platform.
  2. On a 64-bit windows machine and 32-bit NumXL SDK, you need to use the x86 platform.
  3. On a 64-bit windows machine and 64-bit NumXL SDK, you can use either x64 (or Any CPU) platform.

Q2. Error: NumXLAPI.dll' must be strong signed in order to be marked as a prerequisite.
[Answer] This is something to do with the assembly cache requiring all assemblies to be strongly signed (so I'ev read). This can be fixed by clicking on "Application Files" in the publish tab, selecting NUMXLAPI and make sure the publish status is set to "include" rather than "prerequisite

Q3. Error: An attempt was made to load a program with an incorrect format.
[Answer] This is a 32/64 bit issue so just set compiler options to all configurations/all platforms/any CPU which fixed it.

Clone this wiki locally