Function _conUnRegisterF() Foundation
Unregisters C-API functions at runtime
XPPAPIRET XPPAPIENTRY _conUnRegisterF(XppRegisterTable *tbl);
The function returns a value > 0 when unregistration is successful.
The function _conUnRegisterF() removes symbols of C-API functions from the symbol table that have been addded with the function _conRegisterF().
// ----------------------------------------------
// Xbase++ PRG code for dynamic unregistration of
// C-API function symbols
//
#include "DLL.CH"
DllCall( "F2BIN.DLL", DLL_CDECL, "my_unregister" )
DllUnload( "F2BIN.DLL" )
// ------------------------------------------------
// C-API code for dynamic unregistration of symbols
/*
* Static structure that holds all information required
* for unregistration. It is filled by _conRegisterF()
*/
XppRegisterTable MyFuncsInfo;
/* Function which encapsulates unregistration. It can be called
* from the DLL startup routine or via DllCall().
*/
int my_unregister() {
return _conUnRegisterF(&MyFuncsInfo);
}
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.