does ado/myodbc not support blob data insert in vc6?

2009-08-10 Thread linux...@gmail.com
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
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



does ado/myodbc not support blob data insert in vc6?

2009-08-09 Thread linux...@gmail.com
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
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org