🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Is it possible to use Wininet functions WITHOUT LINKING the Wininet.lib ??

#8180
From: Oren Halvani
Date: Sat, 13 Nov 2004 00:53
19 lines
1836 bytes
Azazello, Remy & Ed thanks alot for your help..

let me see if i understand it right, if Wininet.lib is not a static library
will my progrtam run on all Windows versions (Win 9.x, ME, NT,
2000, XP, 2003) ?

if i use LoadLibary instead, will my programm even start if the WinInet.dll
isn't existing, correct ??

of course its muuuuch easier to link the lib instead of calling thousand times
LoadLibrary( ) and GetProcAddress( ) but i have to make sure, that my
program can also run without the WinInet.dll, i need the WinInet functions
only for some down- / uploading files from a server..so if the DLL is missing
i just want to throw an exception instead that the application will terminate
itself (because the DLL wasn't found)...



Oren
Technical Details
Message-ID: <41955b2e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.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
References: <419508ed$1@newsgroups.borland.com> <419516cd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7fd10020e90983c
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: <419508ed$1@newsgroups.borland.com> <419516cd$1@newsgroups.borland.com>
Subject: Re: Is it possible to use Wininet functions WITHOUT LINKING the Wininet.lib ??
Date: Sat, 13 Nov 2004 01:53:18 +0100
Lines: 21
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.86.58.178
Message-ID: <41955b2e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100307246 217.86.58.178 (12 Nov 2004 16:54:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.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