Get a pointer to the global application object
[C++]
CXllApp* XllGetApp();
A pointer to the one and only application object.
Your instance will be of a class descended from CXllApp, so you may wish to cast the result, thus:
			CMyXllApp* pApp = (CMyXllApp*)XllGetApp();
				Note - The following applies only to add-ins built using the MFC libraries.
			 The function will ASSERT if MFC's state variables are not correctly set. 
			In add-in functions that use MFC, you will need to declare the 
			XLL_FIX_STATE macro (with function scope) 
			before using XllGetApp().
Header: xllplus.h
Global functions & macros			 
					  | ::XllGetTypedApp			 
					  | XLL_FIX_STATE