Instructs the host application to keep the add-on in the memory after execution.
void ACAPI_KeepInMemory ( bool keepIn );
- [in] If
truethe add-on will stay in the memory.
This function is used to keep the add-on in the memory.
You should call this function with
true each time your add-on is called to stay in memory. The values of all your global variables stay the same between the calls to your add-on. Also, when in memory, the Initialize and the FreeData functions of your add-on are not called. See more about this topic at the Control the Load/Unload Mechanism part of the Tips and Tricks.
- Version: API 1.3 or later
- Header: ACAPinc.h