-
Notifications
You must be signed in to change notification settings - Fork 0
5. Development
To setup your development folders, we recommend the following structure:
Where:
- numxl-sdk-c folder contains all files in the SDK.
- output folder contains the executable binaries in NumXL and the SDK.
- proj folder is where you maintain the source code for your custom application.
Go to the project folder (e.g. proj), create a new project:
-
Under Visual C++ folder, select proper project type (e.g. Win32 Console Application, Win32 Project, etc.)
-
Open the new project, and select project properties.
-
In the project properties, select:
-
Configuration: All configurations.
-
Platform: All Platforms.
-
Under General:
-
Output Directory: path to the SDK binaries executables (e.g. ....\output$(Platform)).
-
Intermediate Directory: local path relative to your project (e.g.
$(Configuration)$ (Platform)).
-
Now, Under C/C++, select General:
-
Additional Include Directories: path to NumXL SDK header files folder.
-
Next Under Linker, select General:
-
Additional Library Directories: path to NumXL SDK import libraries folder (e.g. numxl-sdk-c\lib\VC100$(Platform))
-
Under Linker, select Input:
-
Additional Dependencies:
1. SFSDK.lib 2. SFDBM.Lib 3. SFLUC.lib 4. SFLOG.lib
8. Click OK and close the project properties dialog box.
9. Next, add the following header files to your development:
- SFMacros.h
- SFLogger.h
- SFLUC.h
- SFDBM.h
- SFSDK.h
- NumXL SDK APIs (arguments and behavior) are designed to match their counterpart NumXL worksheet functions as much as possible: (1) APIs are stateless, (2) robust, and (3) they can generate a wealth of logging information to help with issues raised during development and integration.
- In essence, the NumXL SDK exports its functions using C-API interface and reports its status via error codes as its return value.
- The caller application does not get passed any exception generated during the course of the function call.
- Where do I find documentation for the SDK APIs?