hello , Can I ask you a question about"MFC + ODBC + MYSQL"

2004-03-14 Thread 红兵 张
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

RE: VC++6.0 MFC app with MyODBC 2.50 "no cursor name avb."

2002-05-18 Thread Venu
> -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

VC++6.0 MFC app with MyODBC 2.50 "no cursor name avb."

2002-05-18 Thread rm1804
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

Re: VC++ - MFC Question

2001-11-28 Thread Sinisa Milivojevic
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... >

RE: VC++ _ MFC Question

2001-11-27 Thread jwubbel
>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

VC++ - MFC Question

2001-11-27 Thread Mike Gleason Jr Couturier
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

RE: MFC

2001-07-27 Thread Venu Anuganti
-Venu > -Original Message- > From: Mostafa Al-Mallawani [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 7:29 AM > To: [EMAIL PROTECTED] > Subject: MFC > > > Hi, > I’m new two this list as well, and I was wondering if anyone know how to > connect an MFC applica

MFC

2001-07-26 Thread Mostafa Al-Mallawani
Hi, I’m 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 wouldn’t connect. Any ideas? Thanks.

Re: mysql++ and Programming with MFC

2001-05-15 Thread Sinisa Milivojevic
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

mysql++ and Programming with MFC

2001-05-14 Thread Gilfether, Ryan
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