Hi all, I am migrating a win32 project to x64 OS platform via VC8 recently. One issue is, type SQLLEN is not supported, and were recommanded to use SQLINTEGER...
Hi How do I use connection.beginTransaction() and connection.endTransaction() using dtl. I am not getting beginTransaction() method on connection object. Can u...
In DTL transactions are all done using try catch on the connection object since ODBC only supports transactions at the connection level. So generically it will...
Hi All, I successfully built the DTL 3.6.4 source & sample projects in VS2005 for X64 platform. However, when I run the DTL sample project on the X64 platform...
This looks like even the first example, TableStructExample, is not running correctly since that should be returning results. 1. You did setup the schema and...
Yes I did not insert the data into the tables. However, I now have schema set as per the readme file. I copied the schema along with the data from the access...
OK. It is hard for me to say exactly what the problem is without tracing it on a x64 box which I don't have access to. But, it sounds like the problem is with...
Hi, I am getting another crash with the 64 bit port of DTL in Windows. It is a "Run-Time Check Failure #2 - Stack around the variable 'iLen' was corrupted." ...
I would recommend running the port through either BoundsChecker or Purify to make sure that no memory errors are happening under the 64 bit version since that...
Hello, We have two dlls A.dll and B.dll. In A.dll we have added a class DatabaseConnection. This class has a method, ConnectToDatabase() which connects to the...
Here are a couple ideas: 1. Just pass the connection object explicitly. We have named arguments syntax that makes this pretty easy as shown in the DynamicCopy...
Yes. What you want is bulk_copy http://dtemplatelib.sourceforge.net/bulk_copy.htm This fetches a block of records from the database and is about 10-100x...
Hi Corvin, group I've run into one problem and i cannot find a solution. I am trying to do DB backups from my app, that uses DTL. When i execute simple SQL:...
Sorry. I have no idea what could be causing this. My only advice here is to try running it two ways. 1. Using DBStmt. 2. Using SQLIterator. Just maybe it could...
Hi I think I've solved it. BACKUP DATABASE is displaying message that Backup was successful or not. I have to add SqlIterator.MoreResults() to read it - and it...
Hello I have the following Store procedure (This is only example that demonstrate the problem): create PROCEDURE multi_result_test @p1 Int AS BEGIN select...
From the error message, it looks like what is happening is that inside your stored procedure you have an initial result set with 4 columns, and then a second...
Broadly, I think that a DBStmt can go invalid if it has problems executing or gets into an invalid intermediate intermediate state. You should get a sql error...
Sqlstring.com is your gateway to the best sites on the Internet for sql tutorials! Looking for Computers, Technology, or Domain Names? Browse our recommended...
Hi, I try to compile the example program under x86_64 Red hat Linux box with unixODBC. When I run the command "sh build.sh", it gives me an error message: ...
Hi, this time, I try to compile the DTL example program under window XP with MSVC2005, I can build the DTL porject (DTL.lib) successfully (with lots of...
Make sure that you built dtl.lib and the example program using the same microsoft runtime C library. For example msvcprtd.lib stands for the microsoft visual...
I'm not really sure since I haven't done x64 stuff on Linux but don't you want to remove the -march=i686 flag since that is 32 bit architecture flag? ... ...
Ok,.. This time I remove the "-march=i686 flag" by editting the file config/linux-i686-gcc.inc,then remove the line: "CC += -march=i686" ...but the compiler...
Hi Kev, DTL has been run before on 64 bit solaris so I think what you are seeing is just collisions with how pointers get defined under ia64. Probably your...
Hi, I am newbie for DTL and I would like to use this library with UNICODE support, and I found this link http://dtemplatelib.sourceforge.net/Unicode.htm and...
Sent via BlackBerry from T-Mobile ... From: "gummamalli" <gummamalli@...> Date: Thu, 13 Dec 2007 03:09:52 To:DatabaseTemplateLibrary@yahoogroups.com ...