From: | Brian Furey <brianmfurey(at)yahoo(dot)co(dot)uk> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | ODBC API |
Date: | 2003-09-16 08:22:37 |
Message-ID: | 20030916082237.52556.qmail@web21502.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hello,
im using postgresql and odbc driver with MFC and Visual C++.
I am trying to do bulk update using the ODBC API and its not working.
::SQLBindCol(m_hstmt,0,SQL_INTEGER,&m_ppvData[0],0,&sbz);
::SQLBindCol(m_hstmt,1,SQL_INTEGER,&m_ppvData[1],18,&sbz);
::SQLBindCol(m_hstmt,2,SQL_INTEGER,&m_ppvData[2],18,&sbz);
AFX_ODBC_CALL(::SQLSetPos(m_hstmt, wRow, SQL_UPDATE, wLockType));
My problem is binding columns to 'void' pointers.
Suggestions apprec.
Brifure.
---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2003-09-16 18:37:32 | observations about temporary tables and schemas |
Previous Message | Greg Campbell | 2003-09-15 13:18:27 | Re: how to compile the odbc source? |