Re: creating odbc driver with dbtools.h++ for Oracle7
Date: 1995/07/06
Message-ID: <3th068$8o8_at_arc>#1/1
>I have been asked to write an ODBC driver for Oracle7 using the dbtools.h++
>objects. The idea is to incur a one time cost (the dbtools.h++ source code)
>and create drivers for MSWindows and MacIntosh, instead of paying license
>fees for 50+ copies (most of which are to be on MacIntoshes).
The reason to use ODBC is because you want to try and write the program once and have it be able to connect to multiple databases. It seems like your case is multi platform not multi database.
If that is the case then use your C++ classes to wrap the OCI layer of Oracle and use the same classes on both Windows and Mac. I'm assuming that Oracle runs on the Mac and has OCI for the Mac also. Throw away dbtools.h++ and just do it yourself. It took me about 2 days to learn and program a set of classes to wrap OCI and if I knew I was going multi platform then my classes would be compilable from a Mac compiler. ODBC is probably a bear but OCI is for the most part quite simple and what do you think ODBC drivers talk to anyway? :)
-- Rick Insane Diego... Golden Gate Software http://www.electriciti.com/~rkligmanReceived on Thu Jul 06 1995 - 00:00:00 CEST