共用方式為


AfxDaoTerm

This function terminates the DAO database engine.

void AfxDaoTerm( );

Remarks

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 related information, see Technical Note 54.

Requirements

Header: afxdao.h

See Also

Concepts

MFC Macros and Globals

AfxDaoInit