Article View: borland.public.cppbuilder.database.ado
Article #2052OpenSchema & siProviderSpecific
From: Joe Bonavita
Date: Mon, 24 Nov 2003 04:46
Date: Mon, 24 Nov 2003 04:46
18 lines
1385 bytes
1385 bytes
I want to know how many users are connected to an access database. I found
OpenSchema can do this but I can't get it to work. Here's what I'm doing:
ADOConnection2->OpenSchema(siProviderSpecific,
&EmptyParam,
"{947bb102-5d43-11d1-bdbf-00c04fb92675}",
ADODataSet1);
I get an error:
'Arguments are of the wrong type, are out of acceptable range or are in
conflict with one another'
I can't figure out what's wrong here...
Thanks,
Joe
Technical Details
Message-ID:
<3fc18d27$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,7ece03787592e71b,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-11-23 21:03:14 PST From: "Joe Bonavita" <JBonavita_@_caminus.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: OpenSchema & siProviderSpecific Date: Sun, 23 Nov 2003 23:46:29 -0500 Lines: 20 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: 63.93.202.168 Message-ID: <3fc18d27$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069649191 63.93.202.168 (23 Nov 2003 20:46:31 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail