Initializing help system before first use

XSLPgetuserfuncaddress

XSLPgetuserfuncaddress


Purpose
Retrieve the address of a user function
Synopsis
int XPRS_CC XSLPgetuserfuncaddress(XSLPprob Prob, int nSLPUF, void **Address);
Arguments
Prob 
The current SLP problem.
nSLPUF 
The number of the user function. This always counts from 1.
Address 
Pointer to hold the address of the user function.
Example
The following example retrieves the addresses of user functions 3 and 5 and checks if they are the same.
void *Func3, *Func5;
XSLPgetuserfuncaddress(Prob, 3, &Func3);
XSLPgetuserfuncaddress(Prob, 5, &Func5);
if (Func3 && (Func3 == Func5))
  printf("\nFunctions are the same");
Further information
The address returned is the address in memory of the function for functions of type DLL. It will be NULL for functions of other types.
Related topics

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.