🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13787

Re: how to access getnetworkdriveslist

#13787
From: Bob Gonder
Date: Fri, 12 Sep 2003 21:59
19 lines
1799 bytes
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?
Technical Details
Message-ID: <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <vvc4mvobnrinbp9ql687tvoeno27gl1tfo@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-12 15:01:31 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how to access getnetworkdriveslist
Date: Fri, 12 Sep 2003 14:59:19 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com>
References: <vvc4mvobnrinbp9ql687tvoeno27gl1tfo@4ax.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.96
X-Trace: newsgroups.borland.com 1063403954 67.31.165.96 (12 Sep 2003 14:59:14 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail