Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 27, 2005 MFC and DAO | ||||
---|---|---|---|---|
| ||||
Hi, when I compile my code with MFC and I want to open or create an Access database, and I execute it obtain the following thing: Symantec C++ Debug Library Debug Assertion Failed! Program: C:\Prueba\Prueba.exe File: ..\daocore.cpp Line: 464 My code is a Dialog App: void CMainDialog::OnClickedButtonprobardao() { // to do: Add your notification handler code here CDaoDatabase nuevaDatabase; try { nuevaDatabase.Create (_T("C:\\dm\\PruebaDAO\\Prueba.mdb")); //HERE ASSERT //nuevaDatabase.Open(_T("caca.mdb")); } catch (CDaoException) { MessageBox ("FALLO EXCECION DAO"); } catch (CMemoryException) { MessageBox ("FALLO MEMORIA"); } nuevaDatabase.Close (); } Where is the problem? Thanks PD: excuse me my english but I'dont speak english very well. Thanks. |
January 28, 2005 Re: MFC and DAO | ||||
---|---|---|---|---|
| ||||
Posted in reply to Borja Torres | "Borja Torres" <Borja_member@pathlink.com> wrote in message news:ctb629$2ic9$1@digitaldaemon.com... > Hi, when I compile my code with MFC and I want to open or create an Access database, and I execute it obtain the following thing: > > Symantec C++ Debug Library > > Debug Assertion Failed! > > Program: C:\Prueba\Prueba.exe > File: ..\daocore.cpp > Line: 464 Looking at \dm\mfc\src\32-bit\daocore.cpp line 464, it says it couldn't load the resource. |
January 28, 2005 Re: MFC and DAO | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | In article <ctcc0s$v41$1@digitaldaemon.com>, Walter says... > > >"Borja Torres" <Borja_member@pathlink.com> wrote in message news:ctb629$2ic9$1@digitaldaemon.com... >> Hi, when I compile my code with MFC and I want to open or create an Access database, and I execute it obtain the following thing: >> >> Symantec C++ Debug Library >> >> Debug Assertion Failed! >> >> Program: C:\Prueba\Prueba.exe >> File: ..\daocore.cpp >> Line: 464 > >Looking at \dm\mfc\src\32-bit\daocore.cpp line 464, it says it couldn't load the resource. > > Thanks, Walter but I just know what's the problem. I haven't got the library dao3032.dll in my system. I have installed with "regsvr32 dao3032.dll" and all is OK. Dao 3.5 or 3.6 don't support the 3.0 version of Dao? Why in my Folder /dm/Redist32 there aren't the DaoRedis? Can I redist the Dao3032.dll and register in the system this dll, with my program legally? And the Microsoft's daodist.exe can I redist with my program? Very thanks. |
January 28, 2005 Re: MFC and DAO | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | In article <ctcc0s$v41$1@digitaldaemon.com>, Walter says... > > >"Borja Torres" <Borja_member@pathlink.com> wrote in message news:ctb629$2ic9$1@digitaldaemon.com... >> Hi, when I compile my code with MFC and I want to open or create an Access database, and I execute it obtain the following thing: >> >> Symantec C++ Debug Library >> >> Debug Assertion Failed! >> >> Program: C:\Prueba\Prueba.exe >> File: ..\daocore.cpp >> Line: 464 > >Looking at \dm\mfc\src\32-bit\daocore.cpp line 464, it says it couldn't load the resource. > > Thanks, Walter but I just know what's the problem. I haven't got the library dao3032.dll in my system. I have installed with "regsvr32 dao3032.dll" and all is OK. Dao 3.5 or 3.6 don't support the 3.0 version of Dao? Why in my Folder /dm/Redist32 there aren't the DaoRedis? Can I redist the Dao3032.dll and register in the system this dll, with my program legally? And the Microsoft's daodist.exe can I redist with my program? Very thanks. |
January 29, 2005 Re: MFC and DAO | ||||
---|---|---|---|---|
| ||||
Posted in reply to Borja Torres | "Borja Torres" <Borja_member@pathlink.com> wrote in message news:cte6di$f9k$1@digitaldaemon.com... > In article <ctcc0s$v41$1@digitaldaemon.com>, Walter says... > > > > > >"Borja Torres" <Borja_member@pathlink.com> wrote in message news:ctb629$2ic9$1@digitaldaemon.com... > >> Hi, when I compile my code with MFC and I want to open or create an Access > >> database, and I execute it obtain the following thing: > >> > >> Symantec C++ Debug Library > >> > >> Debug Assertion Failed! > >> > >> Program: C:\Prueba\Prueba.exe > >> File: ..\daocore.cpp > >> Line: 464 > > > >Looking at \dm\mfc\src\32-bit\daocore.cpp line 464, it says it couldn't load > >the resource. > > > > > Thanks, Walter but I just know what's the problem. > I haven't got the library dao3032.dll in my system. > I have installed with "regsvr32 dao3032.dll" and all is OK. > Dao 3.5 or 3.6 don't support the 3.0 version of Dao? > Why in my Folder /dm/Redist32 there aren't the DaoRedis? Probably because they postdate the MFC that is on DMC++. > > Can I redist the Dao3032.dll and register in the system this dll, with my program legally? I don't know. Since dao3032.dll didn't come with DMC++, you'll have to check the license from where you got it. > And the Microsoft's daodist.exe can I redist with my program? Same. The redistribution license for the files on DMC++ apply only to files on the DMC++ CD. |
Copyright © 1999-2021 by the D Language Foundation