Article View: borland.public.cppbuilder.nativeapi
Article #13796Re: how to access getnetworkdriveslist
From: Bob Gonder
Date: Sat, 13 Sep 2003 22:28
Date: Sat, 13 Sep 2003 22:28
19 lines
1813 bytes
1813 bytes
Jeff Kish wrote: >On Fri, 12 Sep 2003 14:59:19 -0700, Bob Gonder >> >>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. >> >I found the reference in the help for the windows sdk from cbuilder 6 Ahh, don't have that. >Are there any other ways of achieving what I am attempting? Just what I already mentioned.. LoadLibrary() and GetProcAddress() Did you try creating a fresh LIB from the DLL? If a freshly created LIB doesn't do the trick, then give in and use the LoadLibrary(). You could probably get all the address when the service starts, and release them on exit.
Technical Details
Message-ID:
<s167mv881d760pl07dbcrvqlt9umdglhnc@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<vvc4mvobnrinbp9ql687tvoeno27gl1tfo@4ax.com> <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com> <7mVjP9DqrpUZ0KRTaIkeCqkouLWG@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 15:40:03 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: how to access getnetworkdriveslist Date: Sat, 13 Sep 2003 15:28:32 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <s167mv881d760pl07dbcrvqlt9umdglhnc@4ax.com> References: <vvc4mvobnrinbp9ql687tvoeno27gl1tfo@4ax.com> <rqf4mvo5a95hkfp4uigtnmvc8aqngktg7q@4ax.com> <7mVjP9DqrpUZ0KRTaIkeCqkouLWG@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: 64.158.105.25 X-Trace: newsgroups.borland.com 1063492112 64.158.105.25 (13 Sep 2003 15:28:32 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail