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...
Nitin, I had time to create the table you sent and run an example similar to the one you gave which works fine. void test(DBConnection *mypDBConn) { ...
Corwin, i am initializing the r. Just to give you an idea i deleted that part from the code. so don't worry about initialization of the r. Please give me some...
OK. If you have properly initialized the row value then it could be an error in the driver or the DTL code that is somehow related to multithreading. The...
Hello, I would like to perform a innerjoin like request with DTL. I'll discuss what I'm trying to do. I have 3 tables: <node>, <element>, <node_element>: -A...
The syntax you have below should work directly in DTL as a pass-through query if you are running against access or SQL server. If you are running against other...
I'm running on PostgreSQL. What do mean by "pass-through query" in DLT? Do you refer to the DTL function "DBStmt"? -If yes, could you let me know how I can get...
... Look at the ODBC docs on MSDN.microsoft.com. Basically, there are two kinds of query you can run in ODBC. One kind uses generic database indepent SQL '92...
Hi Corwin, I have been playing with the following connection method and would like to suggest a small change: void DBConnection::Connect(const tstring &DSN,...
Greg,
I agree - I think I did not implement the connection pooling in such a great fashion.
The problem here is that pooling has to be turned on or off when...
Hi Corwin, I like the changes that you made for connection pooling. Thanks. As for the error messages, Oops, I guess I just didn't look hard enough as you are...
In fact, we've tried to keep the defines down to a minimum. Most of the ones that are there are only to work around non-standard features of various...
A connection properties object sounds like a great idea. The ODBC driver that I am currently using can't handle bulk operations and is case sensitive for field...
I'm having an odd problem with long memo fields in MS Access with DTL. I've created a BCA as described in the documentation, bound the string to the...
Luke,
Thanks for reporting this, sorry it took so long for me to reply, for some reason Yahoo did not forward your mail.
Anyway, the problem turns out to be...
Corwin, Thanks. I've made those mods and everything is working great now. Luke ... for some ... about how many ... caused ... the ... check ... bufferSize); ...
Hello, I would appreciate any help with MS SQL Server 2000 system stored procedures calling. The ideal variant would be to make dtl::DynamicDBView<>...
Suppose we have DynamicDBView<> view("exec sp_columns db_example", ""); DynamicDBView<>::sql_iterator it = view; it.GetStmt().ClearStmtAttrs(); variant_row vr;...