I have trouble compiling again. This time it's with the latest 3.6.11 release of the dtl on gcc 4.3.0. From the error messages it seems that it's simply a...
OK. Thanks for reporting this. gcc must have changed how they handle this from 4.1 to 4.3. For the memcmp, if you add #include <cstring> after #include...
... http://groups.yahoo.com/group/DatabaseTemplateLibrary/files/DTL36/dtl.tar.gz ... Yeah. I need to update the sed snippet that does makedepend in the make...
... sed expression is fixed, but main problem remains. Main problem lays in difference between sizeof(SQLINTEGER) = 4 and sizeof(SQLLEN) = 8 on Linux on...
... Maybe. This version was compiled under Linux x86_64 where I ran and tested it myself so I know it works under 64 bit. (The linux flavor I used was...
I've looked into this some more. According to the UnixODBC headers the difference between SQLLEN and SQLINTEGER is mostly smoke and mirrors. Unless you have a...
Just wondering if anyone here is running an application with VTune, and finding that all DTL calls are failing. My application never had a problem executing...
I'm using the latest dtl_3_6_12 from this group's file repository. variant_field declares a cast operator to ODBCINT64 but doesn't implement it. Adding: ...
Hi, I'm a total non programmer, but am experienced in building rpms and compiling from source. I need to build an rpm of dtl for our new CentOS 5.2 based...
Hi Mark, DTL depends on UNIXODBC. In some versions of CentOS UnixODBC is installed as a default package, but not all systems have it installed. Anyway, the...
Hello, I am using DTL with Ingres database since long time. Now I have to port my application on the MS SQL server 2005. I have just changed the DSN and start...
Hello Prakash, I am confused by your post. Are the queries running with warning messages or not working at all? We set a few connection attributes, several of...
Hello, I apologize in advance if this gets posted twice, but my post yesterday didn't seem to make to the board. Currently, I am using DTL with Ingres database...
Hi all, I'm new to DTL and I've finally got my app reading data from a table of my database. I noticed that the order of the columns and the data have been...
Hello! I have successfully used the DTL with Ingres database. My company has decided to use the MS SQL server instead of Ingres database. Initially I thought...
Well, I'm not sure what you mean. *read_it should give you something of type Claims. So however you want to access and print the member in your Claims struct...
Hello Corwin, Thanks a lot for the reply. This solves my problem. After commenting those lines from the DBStmt.cpp file I could able to run the application. ...
In order for DTL to support Unicode you need to be sure to build dtl.lib and your project with the preprocessor flags UNICODE, _UNICODE and _MBCS. If you...
Hello Corwin, As you have suggested, I build the DTL with UNICODE, _UNICODE and _MBCS. In my application I am already using _UNICODE preprocessor for debug...
Prakesh, For the release build, we didn't define a release with unicode configuration. Just do a normal release build with UNICODE, _UNICODE and _MBCS defined....
... And still it won't compile. I have the same problem as the OP, namely: bind_basics.cpp:789: error: cannot convert 'SQLINTEGER*' to 'SQLLEN*' for argument...
The type of that last column really should be SQLLEN *. Just change the variable declaration on line 775: SQLLEN cbPkCol, cbSQLType; This will then match the...
Hi Corwin, I could able to insert the unicode string using Parameter (Parameterized) query in MS SQL server 2005. I don't know why it does not works with...
Hmm... I'm having a problem with BPA, following the examples. Quick question: the iterator GetQuery() method, will it return the SQL query with the parameter...
... query Scrap that, my bad. Works fine now on Windows (VS 2005). But when I try running the same code on Linux (Ubuntu 8.04) I get a crash: *** glibc...
Basically, the GetQuery method will return the query with the parameters represented by ? marks. These parameters are then bound to actual addresses in a row...
Well, from the error message you are getting what it actually looks like is that Ingres is having trouble with the SQL syntax in the statement UPDATE...