IAgentApp::UnLoadAgent

voidIAgentApp::UnLoadAgent(void)

Unload the Agent Server.

Defined in: ot_agent.cpp

Return Value

void

Comments

For example, if your app object derives from IAgentApp then call LoadAgent in the app object's InitInstance and UnLoadAgent in ExitInstance. This function will also call DetachChar to unload any characters that are already loaded. While cleanup, make sure to call this function before COM gets unloaded in your application.