Originally posted by: Billy
I don't know how to use the SQLPutData correctly. Who can Implement the interface of CSQLDirect?
Originally posted by: Richard
j:\microsoft visual studio\vc98\include\sqltypes.h(114) : error C2146: syntax error : missing ';' before identifier 'SQLHWND'
The errors are generated when ever I add these includes:
#include <sqltypes.h>
If I omit these I get a lot of undefined errors.
Also, in the SQLColumn.h file, the following line generates an error (SQL_C_DEFAULT undefined.
m_nType=SQL_C_DEFAULT;
Help, I am desparate. I am still a student where this is concerned and I am trying to complete a project, but I am stuck.
My email is rqualis@national.aaa.com.
Thanks
I have been trying to compile CSQLDirect but keep geting the following errors.
j:\microsoft visual studio\vc98\include\sqltypes.h(114) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
#include <sql.h>
#include <sqlext.h>
Originally posted by: BHARAT
Can i request you all to help me in accessing the DB, to be specific SQLServer with out using ODBC or DSN using the Class called as SQLServer in VC++.
Thanxs in Advance
Originally posted by: BHARAT
Can i request you all to help me in accessing the DB, to be specific SQLServer with out using ODBC or DSN using the Class called as SQLServer in VC++.
Thanxs in Advance
Originally posted by: Nizam
Hi,
I have downloaded your code and I will try to implement it in my project. I hope that this will reduce my work to a great extent.
Best Wishes
Nizam
Originally posted by: Nizam
Hi,
I have downloaded your code and I will try to implement it in my project. I hope that this will reduce my work to a great extent.
Best Wishes
Nizam
Originally posted by: Tony Ku
Hi,
My program has some linking errors when I incorporate your files.
The errors are as follows :
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/odbc.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Please help.
Regards,
Tony.
Originally posted by: Thorsten Twellmann
Hallo all,
how can I insert rows to an existing table using CSQLDirect?
I need something like:
for(i=0;i<last_adr_row;i++)
{
sqlvar1=myadrname[i]; //sqlvar1 is a CString
sqlvar2=myadrnumber[i]; //sqlvar2 is a int
SQLDirectExecute("INSERT name,adrn INTO tablename VALUES
(sqlvar1,sqlvar2)");
}
What is the correct code ?
Example ?!
Thanks
Thorsten
Reply
Originally posted by: S�ren Bro
Thanks Dave!
Your code provided we with an excellent starting point for learning ODBC.
S�ren Bro
Originally posted by: Thomas Lohr
hi,
this class works fine with gupta - odbc drivers, but I wanted to use it with oracle 8, but I only get emty strings. I tried many different oracle odbc drivers, but that didn't chage anything in my (bad) situation. has anybody experience with oracle and this class?
I added a feature to this class, what makes it possible to simple read single long char fields. if anybody is interested in, don't be shy and write.
sincerly, thomas
Reply