Hi, I have converted my project to be compiled with the Microsoft VC++ v7 compiler and am having some trouble. I am compiling as a DLL and dtl.dll is created,...
DTL is a template library. Therefore, most of the code is templates that lives in the .h files and are only instantiated when your final classes are built. ...
What I believe you are experiencing is SQL server stupidity. SQL Server has this non standard thing where output parameters are not filled until SQLMoreResults...
Hi, I have a little problem with insert_iterator: First of all i created a table with DBStmt : Create table tabaffaires("tNom" TEXT, "tPrenom" TEXT, "tRue"...
Unfortunately there is not an easy solution here since DTL by default does not quote the field names. It will only quote field names with spaces in them. The...
Andrew, I had a go a rewriting the DynamicDBView so that now it automatically can recognize parameters and does not need a special BPA. The one disadvantage is...
Hi all !! I wanted to try DTL with MS VisualStudio 6.0 (and/or .NET) in a simple application. In case of Win32 Console application there was no problems !! It...
We've compiled and run fine on MFC. There are a couple bits you need to do: 1. Be sure that DTL_USE_MFC is defined in your project (but not in the lib ...
Here are the standard MFC instructions. There is on additional bug that if you are using the MFC control BCGControlBar it #defines a macro called variant_t...
Thanks Corwin, it was my fault ! I've compiled DTL with "Single-threaded" runtime library and my MFC project with "Multi-threaded" runtime library. After...
Hello, I'm trying to figure out what would be the bound variable datatype for a CLOB field (Oracle 9i) using sql_iterator? std::string does not seem to work....
Hi all ! I would like to insert a large amount of data by using bulk_copy() in a separate thread. How can I know the actual status and current progress of the ...
... We don't have a way to poll within the bulk_copy function. One possibility is to bulk copy in chunks. E.g. 256 rows at a time and update progress between...
Corwin, I have solved my problem. The reason my code was failing was because of NULLs, so instead of bare field name I used NVL(clob_field_name, TO_CLOB(' '))...
... actually tstring is just our typedef for std::string (or std::wstring if unicode is set). for fixed list strings, you actually need to use the tcstring...
I have gone ahead and made a new release of DTL to add a few requested features and fix some minor issues. Below are the details. Corwin * Version 3.6;...
I don't have an easily available copy of MSVC 7, only 6 so I had not done a compile test on this. In the latest version we changed the declaration of the...
I'm not sure why your stored procedure is not working. If you look in example/storedproc.cpp we have an example of calling a SQL server stored procedure that...
I tried changing the return statement to return dtl_variant_t(m_val); but it had no effect (same error). As you said, explicit is there to prevent unwanted...
I am using DTL for inserting data to a table by insert_iterator. It works fine but some time it shows one extra filed in table. See the second filed in the...
From the looks of it, it looks the function GetFieldInfo() in bind_basics.cpp is generating a garbled field name. I would have to try and reproduce the bug...
I have gone ahead and made a new minor release that addresses this: 3.6.1 ***Bugfixes*** Removed keyword "explicit" in dtl_variant_t constructor when using...
I use DTL for a long time! I know It can call Store Procedue! If the procedure is common like //-------------------- CREATE PROCEDURE Insert_DTABC_Test AS ...
Sorry it has taken me a while to get back to you. Yahoo groups has been on the blink this week from the mydoom virus and has not been sending out messages so...
thanks for the reply. I am giving the table definition. Can it be due to some problem with ODBC driver. My application is multithreaded and i am using seperate...