Hi All, I've found a nasty crash bug in the cleanup of the DTL on program termination. This is the sample program: #include "DBConnection.h" int main() { ...
I've seen something like this reported before in the case of DLLs: http://groups.yahoo.com/group/DatabaseTemplateLibrary/message/1200 the fact that it only...
I haven't looked into this, but I wouldn't be suprised if the problem was just that the ODBC libs/drivers are already destructed. Clearly we should not be...
Another approach that maybe we could take would be to change the default connection to be stored as a CountedPtr<DBConnection> and see if those destructors get...
I think the problem basically comes down to the ambuguity of global destruction order. Essentially the default connection is a global object. Sometimes, the...
Hello DatabaseTemplateLibrary I've found a bug when working with RandomDBView with MS SQL Server 2000. If you call end() function of an iterator on this class,...
... Note, this doesn't just happen on multiprocessor systems, the crappy Win2k single-cpu box also exhibits the problem ... I agree with the other emails, I...
Hi, My select statement is failing and it seems to be because GetQuoteChar is returning ` instread of ' for an odbc connection to an MS Access (2003) Database....
I also discovered that you need to release the environment! of course, this is only required on some Windows machines (in this case, a 2 year old win2k single...
If you look in the function DBConnection::ComputeDBType, the place where we compute the quote character used by that database type it is coded to be general: ...
Hi! First of all, thanks for this superb idea and really neat looking libary! I can't wait to try it out, but I'm having a little problem. When trying to...
... Hi Corwin, ... Ah! I see. Thanks-- maybe an idea for the next time you update the example documentation? :> ... As long as they are doing evil in the...
Hello. I'm still new in using the DTL in connection to database and I don't know and didn't understand how to make the connection between database and my C++ ...
Hadia, Take a look at our introduction document here: http://dtemplatelib.sourceforge.net/dtl_introduction.htm The very first example there shows a complete...
Thanx Corwin But I tried your first example many times and it didn't work, as it can't c the dtl.h file even though I added it as u specified in the...
Hello, dear corwin. Please explain explicit use DefaultBCA<> specializations (with the BCAWrap class which copies DefaultBCA into itself) instead of Direct ...
Please I need a reply. Why this error appear to me and how can I solve it. "fatal error C1083: Cannot open include file: 'DTL.h': No such file or directory" I...
Please I need a reply. Why this error appear to me and how can I solve it. "fatal error C1083: Cannot open include file: 'DTL.h': No such file or directory" I...
The idea behind the DefaultBCA was to allow you to cleanly specify the binding definitions for a class 1. Without being intrusive - i.e. the binding method...
Yes, but only barely. There is really only one place that uses RTTI in BoundIO line 378 template<class memberType> void GenericBindPrimitive(memberType ...
I'm really sorry for annoying, but I thought you are a site for answering all beginners and professionals and you are now neglecting my questions to you.I...
Hadia, You are getting the error "fatal error C1083: Cannot open include file: 'DTL.h': No such file or directory" because you have not told the compiler where...
Hello Corwin ! Thank you for the competent and complete answer. Please, confirm I would just comment all RTTI use in your BoundIO class. It looks to be stable...
Actually, it's not quite that easy. To eliminate RTTI you would need to do two things: 1. Chage ETI_Map::build to just use a pre-defined set of names rather...
Hello! I have a little question about RandomDBView. In my program user wants to read say records from 300 to 350 from the table, but in fact the table contains...
Hi Artem, Let's see if I can address your questions: 1. Regarding you last question on what is happening with the off by one error in the RandomDBView, this...