Syntax:
MSPPRG_API void F_API_DLL_Directory( Cstring APIDLLpath );
or MSPPRG_API void F_APIDLL_Directory( char* APIDLLpath );
Example:
............................
F_API_DLL_Directory( “C:\\Program Files\\Test\\” );
// directory where the API-DLLs are located
If( F_Initialization() != TRUE ) //required API-Dll - initialization
{
// Initialization error
}
............................
F_Close_All
F_Close_All - Close communication with the programming adapter and release PC
memory.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed sequentially.
F_Close_All function should be called as the last one before *.dll is closed. When the F_Close_All
is called then communication port becomes closed and all internal dynamic data will be released
from the memory. To activate communication with the programmer when the function F_Close_All
has been used the F_Initialization function must be called first.
Syntax:
MSPPRG_API INT_X F_Close_All( void );
Return value:
0 - FALSE
1 - TRUE
-2 (0xFFFFFFFE) - FPA_INVALID_NO
Example:
F_Initialization(); //required API-Dll - initialization
............................
............................
F_Close_All;
............................
51