This function terminates the DAO database engine.
void AfxDaoTerm( );
Typically, you only need to call this function in a regular DLL; an application will automatically call AfxDaoTerm when it is needed.
In regular DLLs, call AfxDaoTerm before the ExitInstance function, but after all MFC DAO objects have been destroyed.
For more information about calling AfxDaoTerm, see the article DAO: Using DAO in DLLs. For related information, see Technical Note 54.