🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Downloading a file from FTP-server via API: FtpGetFile( )

#8495
From: Alan Bellingham
Date: Tue, 19 Oct 2004 13:48
23 lines
1833 bytes
"Oren Halvani" <NoSpam@fdtd.com> wrote:

>ED, i try to make a lib with the programm: bin\implib.exe like this:
>
>implib wininet.dll wininet.lib
>
>it says: unable to open file..why ?? how do i get else the lib file..?

Well, two reasons.

Firstly, you probably need to give the full name of the DLL - like this:

  c:\winnt\system32\wininet.dll.

And secondly, you've got the parameters the wrong way round:

  i:\dev>implib wininet.lib c:\winnt\system32\wininet.dll

So you're lucky - you could have overwritten the DLL!

Alan Bellingham
-- 
ACCU Conference 2005 - 20-23 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <3l6an0ls300gvpogttgeite0lo3bkiqfq7@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4175072a$1@newsgroups.borland.com> <417510a8$1@newsgroups.borland.com> <417513d7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8c7cb2fd84899d4c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Downloading a file from FTP-server via API: FtpGetFile( )
Date: Tue, 19 Oct 2004 14:48:36 +0100
Reply-To: alanb@episys.com
Message-ID: <3l6an0ls300gvpogttgeite0lo3bkiqfq7@4ax.com>
References: <4175072a$1@newsgroups.borland.com> <417510a8$1@newsgroups.borland.com> <417513d7@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.130
X-Trace: newsgroups.borland.com 1098193718 193.129.251.130 (19 Oct 2004 06:48:38 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail