Article View: borland.public.cppbuilder.nativeapi
Article #8217Re: How to download a file WITHOUT using the FTP..only through HTTP..
From: Oren Halvani
Date: Tue, 16 Nov 2004 18:10
Date: Tue, 16 Nov 2004 18:10
47 lines
2710 bytes
2710 bytes
"Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> schrieb im Newsbeitrag news:41999e15$1@newsgroups.borland.com... hi Ed, that sample you gave me is G.R.E.A.T !! i've tested it on my local pc at home = No problem...but in the firm it FAILED at the firewall...i don't understand why... the 80:HTTP port is free for use, the other famous ports are forbidden: 21, 25, 110, etc... do you understand why the programm failed to get the file...? is there any difference between your programm and the web-browser? i mean they are both sending the same HTTP-Request when i want to download a file, correct ? > You CANNOT make the program "100% standalone". It will > always require at least kernel32.dll and user32.dll because > it is a Windows programs and those DLL's are where Windows > resides. By explicitly linking to wininet.dll you remove > the implicit requirement for the DLL that the import library > causes so it can load on a system where that DLL is missing > but it's not going to run correctly if the DLL cannot be > found. > > . Ed sorry, of course you're right, its NEVER possible to make a exe "100 % standalone", but my definition of standalone means usage of standard DLL's: ------------------------------------------------------ ADVAPI32.DLL KERNEL32.DLL WINSPOOL.DRV COMCTL32.DLL GDI32.DLL USER32.DLL OLEAUT32.DLL ------------------------------------------------------ those dll's are always needed by a naked BCB-program.. Oren
Technical Details
Message-ID:
<419a42d0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41984e1e@newsgroups.borland.com> <41990c0f$1@newsgroups.borland.com> <41992dc8@newsgroups.borland.com> <41999e15$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f57c5862d590fb6d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Oren Halvani" <Spam@Me-Please.com> From: "Oren Halvani" <Spam@Me-Please.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <41984e1e@newsgroups.borland.com> <41990c0f$1@newsgroups.borland.com> <41992dc8@newsgroups.borland.com> <41999e15$1@newsgroups.borland.com> Subject: Re: How to download a file WITHOUT using the FTP..only through HTTP.. Date: Tue, 16 Nov 2004 19:10:39 +0100 Lines: 49 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 217.234.92.138 Message-ID: <419a42d0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100628688 217.234.92.138 (16 Nov 2004 10:11:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail