🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#8204
From: Bob Gonder
Date: Mon, 15 Nov 2004 20:06
44 lines
2851 bytes
Remy Lebeau (TeamB) wrote:

>"Bob Gonder"  wrote in message
>
>> Seems to me that the compiler could create a jump
>> table of all functions in the dll (used or not), and the
>> startup could fill it all in.
>
>That is exactly what it actually does.

Well, not _exactly_. Apparently it doesn't create a jump table of
_all_ functions, used or not. Just those that are called.

The delayed-load OTOH, does seem to create a table for _all_
functions, with the unused function entries set to NULL or int 3.



>The functions in question already existed in the NT platform at the time the
>"old" kernel was created for the 9x systems.

Oh. I keep thinking NT came "after"
Especially when the help says "[New - Windows NT]"
It reinforces the notion that NT is "newer".

>  Why they are introduced into
>the 9x kernel but not actually implemented, I have no idea.

Yeah, that's what threw me.

>> And if it's in the old kernel, why wasn't it implimented?
>
>Since those particular functions are file related, I would guess that they
>need certain file system capabilities that NTFS provides but FAT doesn't?

Only 2 things "new" in the Ex version.. callback (nothing NT there)
and COPY_FILE_RESTARTABLE, which may or may not be a problem.

Since callback is a very nice feature for CopyFile, and since it's
already stubbed out, they should have implimented it, and said the
flag COPY_FILE_RESTARTABLE wasn't supported. They've done that with
other functions.
And as long as I'm ranting....why didn't they put a callback in the Ex
version of MoveFile?  (rhetorical)
Technical Details
Message-ID: <q30ip0p3nksmolhstdv2hfuojeutslhuab@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <419508ed$1@newsgroups.borland.com> <419516cd$1@newsgroups.borland.com> <41955b2e$1@newsgroups.borland.com> <41955ff6@newsgroups.borland.com> <rftcp05c1rv7h9tahtrs9i6u38kt3au33b@4ax.com> <4197086d$1@newsgroups.borland.com> <17vep0543qqovnp4nt11762l33o181lile@4ax.com> <4198f971$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
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Is it possible to use Wininet functions WITHOUT LINKING the Wininet.lib ??
Date: Mon, 15 Nov 2004 12:06:48 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <q30ip0p3nksmolhstdv2hfuojeutslhuab@4ax.com>
References: <419508ed$1@newsgroups.borland.com> <419516cd$1@newsgroups.borland.com> <41955b2e$1@newsgroups.borland.com> <41955ff6@newsgroups.borland.com> <rftcp05c1rv7h9tahtrs9i6u38kt3au33b@4ax.com> <4197086d$1@newsgroups.borland.com> <17vep0543qqovnp4nt11762l33o181lile@4ax.com> <4198f971$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.16
X-Trace: newsgroups.borland.com 1100549208 67.77.147.16 (15 Nov 2004 12:06:48 -0700)
Lines: 46
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail