nd CRecordset::dynamic
m_pSet->m_AName = "zhang";//the length of m_AName is 256(char) in table (m_AName
对应的表中的字段为char的,长256)
m_pSet->m_AInfo = "zhb";//the type of m_AInfo is text in table (m_AInfo
对应的类型是text 的)
m_pSet->Update(); // occur error -->a me
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 18, 2002 5:17 AM
> To: [EMAIL PROTECTED]
> Subject: VC++6.0 MFC app with MyODBC 2.50 "no cursor name avb."
>
>
>
> I get a "No cursor name
I get a "No cursor name available" window in an Visual C++ 6.0 MFC
application whenever i try to make updates to the database. I use a
CRecordset class to connect to the database trough MyODBC 2.50.39. MySQL
server is 3.23.49 stable release on Windows 2000 Pro.
I'm kinda
Mike Gleason Jr Couturier writes:
> Hello all !
>
> I'm creating an MFC program with the mySQL API.
> Everything is working fine but when exceptions
> occurs (ie when connecting, changing databases...),
> I can't display the er.error message to the user...
>
>AfxMessageBox((CString)er.error);
It looks like you are trying to ask the compiler to cast er.error as a CString.
The compiler complains because the exception you are catching using
BadQuery (i.e., er.error) is probably implemented with STL. Usually you
would see the error dumped out as follo
Hello all !
I'm creating an MFC program with the mySQL API.
Everything is working fine but when exceptions
occurs (ie when connecting, changing databases...),
I can't display the er.error message to the user...
How can I convert the error message to a char * or
-Venu
> -Original Message-
> From: Mostafa Al-Mallawani [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 7:29 AM
> To: [EMAIL PROTECTED]
> Subject: MFC
>
>
> Hi,
> Im new two this list as well, and I was wondering if anyone know how to
> connect an MFC applica
Hi,
Im new two this list as well, and I was wondering if anyone know how to
connect an MFC application to a remote database? It works fine with my
local database but when I come to create a file DSN for the remote one
using MyODBC, it wouldnt connect. Any ideas? Thanks.
Gilfether, Ryan writes:
> Anyone have success in using mysql++ with MFC in Visual C++ 6.0, if so what
> did you do to get it to work? I emailed the guy who did the mysql++ port for
> Visual C++ and he told me that it is a major problem getting it to work with
> MFC. I tried all
Anyone have success in using mysql++ with MFC in Visual C++ 6.0, if so what
did you do to get it to work? I emailed the guy who did the mysql++ port for
Visual C++ and he told me that it is a major problem getting it to work with
MFC. I tried all the stuff he suggested to get it to work, changing
10 matches
Mail list logo