OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
does ado/myodbc not support blob data insert in vc6?

linuxnmsgmail.com
Date: Mon Aug 10 2009 - 20:52:16 CDT


hi,all!

        ENV: mysql server 5.1, myodbc 5.1.5, vc 6.0, I use ado to operate mysql. I found it can't work to insert a blob data to mysql server. And it is no problem to get the blob data from mysql server. what's the matter?
    I used the source code of MSDN about AppendChunk and GetChunk Methods Example (VC++) http://msdn.microsoft.com/en-us/library/ms676103(VS.85).aspx
    The connection to mysql server was changed by following:
    _bstr_t strCnn("DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost;DATABASE=test; USER=root; PASSWORD=111;OPTION=3;");

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql