Mail Archives: djgpp/2002/10/18/08:45:14
Hans-Bernhard Broeker wrote:
> Dan Mahoney <dan AT wolf DOT com> wrote:
>
> > I've got to write a C++ program on a Windows box, using the DJGPP
> > port of gcc. The only challenge to this project is that I need to
> > be able to query an MS Access database.
>
> I'm quite certain that this is completely impossible as long as you
> really use DJGPP. As opposed to, say, RSXNTDJ, which would let you
> access Windows API functions (including ODBC) since it build Windows
> applications.
>
> DJGPP makes DOS programs which just do not have any access whatsoever
> to Windows stuff like ODBC.
The OP might consider cygwin for the purpose, which WON't run
under DOS. Alternatively he can convert the database to a text
file(s), possibly tab or comma delimited fields, and access that.
Not too swift if the DB is being modified. But having done the
conversion gawk may be much easier than C++.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -