Debug Assertion Failed! and no obvious Error

K

Kapt. Boogschutter

Does anyone know Why I'm getting this Error???

Debug Assertion Failed!
File: daocore.cpp
Line: 42

My code:

CDaoDatabase dao;
dao.Create("filename");
dao.Close();

It's very strange, because I get no errors until the CDaoDatabase object is
destructed.
Another strange thing is that if I call dao.IsOpen it returns TRUE even if I
call dao.Close several times.

I'm at a los since try and catch didn't help at all.
 
R

red floyd

Kapt. Boogschutter said:
Does anyone know Why I'm getting this Error???

Debug Assertion Failed!
File: daocore.cpp
Line: 42

My code:

CDaoDatabase dao;
dao.Create("filename");
dao.Close();

It's very strange, because I get no errors until the CDaoDatabase object is
destructed.
Another strange thing is that if I call dao.IsOpen it returns TRUE even if I
call dao.Close several times.

I'm at a los since try and catch didn't help at all.
OT. CDaoDatabase is not Standard. Look in the MS newsgroups
(news.microsoft.com or msnews.microsoft.com) for help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top