Re: Using VC2008 to store bytea, I got AppendChunk error 800a0c93
От | sunpeng |
---|---|
Тема | Re: Using VC2008 to store bytea, I got AppendChunk error 800a0c93 |
Дата | |
Msg-id | CAOYKhLqOSzms=FWW=jXXniD5MD5NHU0ymNJ4wh_7+z=T=7PS_w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Using VC2008 to store bytea, I got AppendChunk error 800a0c93 ("Inoue, Hiroshi" <inoue@tpf.co.jp>) |
Список | pgsql-odbc |
Thank you Hiroshi,
C7=1
and
("DSN=%s")
both works fine, thank you again!
peng
On Mon, Jul 7, 2014 at 12:02 PM, Inoue, Hiroshi <inoue@tpf.co.jp> wrote:
(2014/07/07 12:44), sunpeng wrote:Please add ";C7=1" which turns on *bytea as lo* option to yourhr = m_pConnection.CreateInstance("ADODB.Connection");
sql.Format(_T("Driver=%s;Server=%s;Database=%s"),strDriver,strIP,strDBName);
connection string or
directly specify the data source name as the connectiion string
_T("DSN=%s")<snip>
.strDriver is "PostgreSQL ANSI" or "PostgreSQL Unicode"Does SafeArrayPutElelment() work as you expect?
for (long iSize = 0; iSize <
FreImgSize; iSize++)
{
SafeArrayPutElement(psafe[0],
&iSize, &pFreImg[iSize]);
The input of the function is psafe[0] and the output is &pFreImg[iSize].
regards,
Hiroshi InoueSPAMfighter has removed 11419 of my spam emails to date. Do you have a slow PC? Try a Free scan http://www.spamfighter.com/SLOW-PCfighter?cid=sigen
--
I am using the free version of SPAMfighter.
В списке pgsql-odbc по дате отправления: