|
From: Yeoh H. <ye...@ye...> - 2003-05-13 00:41:55
|
Hello everyone, Actually you can write a C++ program to access a Microsoft Access database without requiring the user to setup the ODBC DSN. I've written an example program using Dev-C++ 4.9.8.0 (GCC3.2) that reads from a Microsoft Access 2000 database that does not require the user to setup any ODBC DSN. If you like I could e-mail the sample source code to you. :-) Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Derick van Niekerk" <der...@go...> To: "DevCPP" <dev...@li...> Sent: Monday, May 12, 2003 2:38 PM Subject: Re: [Dev-C++] Access databases > Thanks. > > I am sure I'd be able to find an odbc wrapper but I was thinking more along > the lines of how M$VC++ is able to access an access database without needing > to have the datasources set up under ODBC sources. > > I am writing a programto read information from scales (as in weighing) into > a database. My brother is selling these scales and the company he works for > will pay royalties for every scale the program is distributed with. I need > to have the program easy to set up becaus their average customer barely > knows where to switch on the pc let alone set up ODBC. > > I was thinking of doing the entire thing in access and I have the database > already set up - I just need a small program to handle the task of getting > information from the serial port (no problem) and writing it directly into > the appropriate table of the access database. Importing and exporting is > very messy and I'd rather not do it if I can work around it. > > Thanks again for all your help guys! > -d- > > ----- Original Message ----- > From: "Mark Livingstone" <mli...@ip...> > To: <dev...@li...> > Sent: Monday, May 12, 2003 5:17 AM > Subject: Re: [Dev-C++] Access databases > > > On Fri, 9 May 2003 16:20:39 +0200 > "Derick van Niekerk" <der...@go...> wrote: > > > Anybody know of a quick 'n dirty way to manipulate an access database > > using DevCpp? Maybe a lib or a wrapper or something? > > Well, DevCpp is only a development environment which supports C and C++ > programming. If I were you, I'd Google for an ODBC class or wrapper. > There are heaps of them out there. I know in times gone by I've seen > them mentioned in various projects over at Sourceforge.net. > > HTH! > > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |