I have a regular DLL that uses DAO. MFC documentation indicates that DaoAfxTerm() needs to be called in the DLL's CWinApp::ExitInstance() to correctly de-initialize the DAO. However, doing so causes as assertion and ultimately a crash from within DaoAfxTerm(). MSDN documentation claims that this bug was fixed but apparently not. I was able to overcome this bug by creating a CDaoWorkspace in my client but that's not quite acceptable since my client will not be an MFC app.


Anybody ever came across this issue? Any hints?


Cheers,

Yazan Diranieh