Re: need C code to reference ADO .. how?
* beginthreadex:
I have an application that is using the Visual Studio 2008 environment
but the project is a 'C' project (everything is using C conventions
and compile options). We are making sure that there is no C++ in this
application for coding reasons I'm not going to go into. Just note
that we have to do it this way.
Here's my issue, I need to have part of the code get data from a Jet
database and connect/use a SQL 2005 database. If this were C++ I could
use #import and recordbinding (love record binding) and be done with
it. How can I do the same operations (perferably with some
recordbinding) in C? Is there a header or something easy to use or do
I need to traverse all of the notions of COM by hand. Please note that
ADO's record binding is one of the key features that I would like to
duplicate in this C code.
Thanks for all the help or pointers (pun) and I wish you a very good
day. I am finding this more challanging the deeper I look.
Is this not possible using ODBC?
You'd not get ADO's record binding, true.
By the way, I think chances are high that your reasons for avoiding C++ here are
invalid on technical grounds, but if they're "political" then in practice there
may be no way around.
On the design level it seems the application is mixing GUI and business logic
(generally ungood), or is all pure GUI.
If it's all pure GUI, why not make it in some scripting language (hey, look, no
C++)?
Cheers, & hth.,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?