delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/18/08:45:14

Message-ID: <3DB0015E.DDAA2DC1@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ODBC through DGJPP?
References: <o8cuqukeb1dl5f2gjb1an7ngrbfpoef7p0 AT 4ax DOT com> <aoopdp$34f$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Lines: 26
Date: Fri, 18 Oct 2002 12:44:57 GMT
NNTP-Posting-Host: 12.90.179.152
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1034945097 12.90.179.152 (Fri, 18 Oct 2002 12:44:57 GMT)
NNTP-Posting-Date: Fri, 18 Oct 2002 12:44:57 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019