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...
... Don't worry about the sed errors, it is just used to emulate "makedepends" - i.e. so the program knows that if a header file is changed any files that...
... slower ... But the bulk fetch works perfectly if I don't use parameters. Problem may be a combination of using parameters with bulk fetch ? I'll try single...
Fantastic; thank you so much. There are about a half-dozen such errors, which I have corrected with a patch against the pre-release 3.6.12 (along with a couple...
Hi, I'm trying to build the DTL with the MinGW Compiler. So far I have used codeblocks to convert the MSVC Project to a MinGW Project. Now, when compiling, I...
Jens Weller
JensWeller@...
Jan 27, 2009 1:51 pm
2437
Looking in the config directory I have a config for MinGW CC += -march=i686 -mno-cygwin -DDTL_MINGW32 so you can try the DTL_MINGW32 define. If that is not...
I have succeeded building it with codeblocks. Just had to import the msw Project, and use MinGW as default Compiler. Also I had to place the windows.h into the...
Jens Weller
JensWeller@...
Jan 29, 2009 9:41 am
2439
I managed to get DTL compiled for RHEL x86_64. This took some work as there were some issues with SQLLEN, SQLINTEGER, ODBCINT64. After reading the forum,...
Well, the thing to look at here is a function called ETI_Map::build() in bind_basics.cpp. Here we define the association between ODBC types and C types. So,...
Hi everybody, I yust started using the dtl. On windows it was relatively smooth to get running (except the static runtime library in the release configuration...
Hi Richard, We've actually had several folks compile DTL on ubuntu recently. The makefile is nothing special, it just compiles everything in the library and...