<< Return to Main Index
< Return to Class Index
GXForceTerminate
void GXForceTerminate();
Remarks
You should call this method from your application class ExitInstance method. It will reset resources and variables used by Objective Grid.
This method should be called instead of GXTerminate(). GXTerminate() has been deprecated and is no longer supported.
If you have an application that calls GXTerminate...
------------------------------------------------------
You can
a) Safely remove the call to GXTerminate
b) Leave it as is, if you see the following TRACE message
TRACE0("Call to CGXAutoCleanUpProcessLocal::ForceTerminate fails\n");
TRACE0("You can ignore this warning if you are simply calling GXTerminate\n");
TRACE0("You no longer need the call to GXTerminate except with OLE controls\n");
You can ignore this message.
c) If you have an application that links with multiple extension dlls that use Objective Grid or
if the application itself uses Objective Grid in addition to the DLL.
Remove calls to GXTerminate as this will only cause problems.
Reference
Objective Grid User's Guide section 15.1.3.4 Module State and Cleanup