Initializes the CShellManager object.

BOOL InitShellManager();

Nonzero if the method creates the CShellManager object; 0 if the CShellManager object already exists.

If you call CWinAppEx::GetShellManager, the default implementation of that method calls InitShellManager.

If your application already has a shell manager and you call InitShellManager, your application raises an ASSERT failure. Therefore, do not call InitShellManager if you create a CShellManager object directly. If you are not using a custom CShellManager, use GetShellManager to create a CShellManager object.

Header: afxwinappex.h