int __stdcall SFLUC_Init | ( | LPCTSTR | szAppName, |
LPCTSTR | szLogDir, | ||
BOOL | bEnableGracePeriod | ||
) |
initialize the SFLUC (Licensing) Library
- Returns
- status code of the operation
- Return values
-
NDK_SUCCESS Operation successful NDK_FAILED Operation unsuccessful. See Macros for full list.
- Parameters
[in] szAppName application name (user-defined), but must match the configuration base filename [in] szLogDir absolute path of the log file directory and temporary data files. If NULL, LUC uses the default temp directory in the current user's profile [in] bEnableGracePeriod allow program to run for 7 days in the case the license key is missing
- Remarks
- The value of the application name argument (i.e. szAppName) must match the name of the configuration file. The confguration file must exist in the same folder as your application executable file (e.g. MyApp.exe)
- In the majority of the cases, this function is called as part of NDK_Init function, and you don't need to invoke directly.
- Requirements
-
Header SFLUC.H Library SFLUC.LIB DLL SFLUC.DLL
- Examples
Namespace: | NumXLAPI |
Class: | SLUC |
Scope: | Public |
Lifetime: | Static |
NDK_RETCODE Init | ( | string | szAppName, |
string | szLogDir, | ||
Boolean | bEnableGracePeriod | ||
) |
initialize the SFLUC (Licensing) Library
- Return Value
-
a value from NDK_RETCODE enumeration for the status of the call.
NDK_SUCCESS operation successful Error Error Code
- Parameters
[in] szAppName application name (user-defined), but must match the configuration base filename [in] szLogDir absolute path of the log file directory and temporary data files. If NULL, LUC uses the default temp directory in the current user's profile [in] bEnableGracePeriod allow program to run for 7 days in the case the license key is missing
- Remarks
- The value of the application name argument (i.e. szAppName) must match the name of the configuration file. The confguration file must exist in the same folder as your application executable file (e.g. MyApp.exe)
- In the majority of the cases, this function is called as part of SFSDK.Init function, and you don't need to invoke directly.
- Exceptions
-
Exception Type Condition None N/A
- Requirements
-
Namespace NumXLAPI Class SFLUC Scope Public Lifetime Static Package NumXLAPI.DLL
- Examples
- References
- * Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
- * Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740
- * D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906
- * Box, Jenkins and Reisel; Time Series Analysis: Forecasting and Control; John Wiley & SONS.; 4th edition(Jun 30, 2008), ISBN: 470272848