Article View: borland.public.cppbuilder.internet.socket
Article #8Re: FTP file download for Indy 9
From: Remy Lebeau (TeamB)
Date: Fri, 18 Jul 2008 16:47
Date: Fri, 18 Jul 2008 16:47
38 lines
2175 bytes
2175 bytes
"ANTHONY WEST" <teroni@email.uophx.edu> wrote in message news:48804143$1@newsgroups.borland.com... > - After including the wininet.h and some FTP code, I > received the "Unresolved external symbol referenced > from module" error. You need to add wininet.lib to your project. > I could not find a wininet.lib or .obj that I could add > to the project to remove this error. It should be in the $(BCB)\lib or $(BCB)\lib\psdk folder. > I searched my hard drive and found the wininet.dll in my > windows/system32 folder. I created a lib at the command > prompt using the implib wininet.lib wininet.dll command. > I added this new wininet.lib to the project and it compiled fine. (I > also had to do this with urlmon.lib.) BCB should have its own copy of that file as well. > - Then I added the function FtpGetFileSize to my code and > received a compiler error saying there was no such function. > I examined the wininet.lib file and found it in there. Then I > examined the wininet.h file and it was not in there. Download a newer copy of the WinInet API headers from Microsoft. Or get the Borland Platform SDK from http://bccsdk.sourceforge.net. > This function must be a newer one that was not available when > BCB 4 was released. Correct. Gambit
Technical Details
Message-ID:
<4880cabe$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<487ef727$1@newsgroups.borland.com> <4j3v745gekhkrf5skft0spuun1s7uo0hn1@4ax.com> <48804143$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <487ef727$1@newsgroups.borland.com> <4j3v745gekhkrf5skft0spuun1s7uo0hn1@4ax.com> <48804143$1@newsgroups.borland.com> Subject: Re: FTP file download for Indy 9 Date: Fri, 18 Jul 2008 09:47:30 -0700 Lines: 40 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 207.178.157.90 Message-ID: <4880cabe$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1216400062 207.178.157.90 (18 Jul 2008 09:54:22 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.isoc.lu!newsgroups.borland.com!not-for-mail