o***z 发帖数: 133 | 1 maybe the database password is for MS Access only, not for ODBC
the
in |
s****y 发帖数: 95 | 2 Thanks. I think you are right the database password is for MS Access only. But
do you know whether there is an ODBC API which is compatible with this
protocol?
ODBC
like
a
【在 o***z 的大作中提到】![](/moin_static193/solenoid/img/up.png) : maybe the database password is for MS Access only, not for ODBC : : the : in
|
o***z 发帖数: 133 | 3 you may need to use something designed for MS like MFC DAO
see MS KB Q270663
But
【在 s****y 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Thanks. I think you are right the database password is for MS Access only. But : do you know whether there is an ODBC API which is compatible with this : protocol? : : ODBC : like : a
|
s****y 发帖数: 95 | 4 Thanks. I found it is actually very easy. Just leave out the user ID.
For example
CString CSecuredRSSet::GetDefaultConnect()
{
return _T("ODBC;DSN=Secure;PWD=Lamont");
}
It works fine. Thank you ottoz.
【在 o***z 的大作中提到】![](/moin_static193/solenoid/img/up.png) : you may need to use something designed for MS like MFC DAO : see MS KB Q270663 : : But
|