Article View: borland.public.cppbuilder.nativeapi
Article #13309Re: How to create an ODBC by Code
From: nicolasr
Date: Mon, 20 Oct 2003 09:41
Date: Mon, 20 Oct 2003 09:41
30 lines
1652 bytes
1652 bytes
Hi, search for these functions SQLConfigDataSource() ConfigDSN() I have tried SQLConfigDataSource() once but finally I chose another way. For this function to work include odbcinst.h. Also I didn't find a lib that imports the function. So I built my own from odbccp32.dll using the Implib utility. Regarding the arguments I can't help you any further. There are only a few examples. And they depend on the specific driver, Access in your case. Good luck, Nick "davichu" <dmarquezl@hotmail.com> schrieb im Newsbeitrag news:3f90a68c@newsgroups.borland.com... > Hi, > > I need create an ODBC item by code. The database format is MS Access. > > How can I do this? > > Thanks. > > > >
Technical Details
Message-ID:
<3f93addb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f90a68c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b8cc37f7f83472ab X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-20 03:04:02 PST From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f90a68c@newsgroups.borland.com> Subject: Re: How to create an ODBC by Code Date: Mon, 20 Oct 2003 11:41:42 +0200 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.133.167.10 Message-ID: <3f93addb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066642907 80.133.167.10 (20 Oct 2003 02:41:47 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail