Article View: borland.public.cppbuilder.nativeapi
Article #13794Re: how to access getnetworkdriveslist
From: Jeff Kish
Date: Sat, 13 Sep 2003 18:46
Date: Sat, 13 Sep 2003 18:46
29 lines
1989 bytes
1989 bytes
On Fri, 12 Sep 2003 14:59:19 -0700, Bob Gonder <notbg@notmindspring.invalid> wrote: >Jeff Kish wrote: > >>When I make a call to void GetNetworkDrivesList(LPSTR szSymbol);, the >>compiler can't see it. So of course I grepped the include files and >>found msdetect.h, and included it. >>Now the linker can't find it. > >At the top of that header file is the line: >// Imported functions from MSDETSTF.DLL > >Which means you need to either dynamically link to the DLL, or create >a LIB from it (IMPLIB I believe) and add that to your link. > >>What should I do? I assumed that things like that were in the standard >>libraries you link to when you create an application or service >>application. > >Well, yeah, but it doesn't seem to be a "standard" function. I can't >find reference to it on MSDN. Where'd you find the docs on it? > > I found the reference in the help for the windows sdk from cbuilder 6 Are there any other ways of achieving what I am attempting? Thanks, Jeff
Technical Details
Message-ID:
<7mVjP9DqrpUZ0KRTaIkeCqkouLWG@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<vvc4mvobnrinbp9ql687tvoeno27gl1tfo@4ax.com> <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,c5432db67eacb432 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 11:52:10 PST From: Jeff Kish <kishjjrjj@provide.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: how to access getnetworkdriveslist Date: Sat, 13 Sep 2003 14:46:44 -0400 Message-ID: <7mVjP9DqrpUZ0KRTaIkeCqkouLWG@4ax.com> References: <vvc4mvobnrinbp9ql687tvoeno27gl1tfo@4ax.com> <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com> X-Newsreader: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.86.66.67 X-Trace: newsgroups.borland.com 1063478728 216.86.66.67 (13 Sep 2003 11:45:28 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail