🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: INTERNET_CACHE_ENTRY_INFO question

#9900
From: Alan Bellingham
Date: Thu, 03 Jun 2004 14:42
29 lines
1767 bytes
"Martin C" <martincplus@hotmail.com> wrote:

>I am using the function shown below to retrieve each cookie file size on my
>machine, although evey time dwSizeHigh return zero as the cookie file size
>to me. Can someone help me please and tell me how I can get the cookie file
>size, and what exactly I am doing wrong here.
>
>Thanks in advance
>
>LPINTERNET_CACHE_ENTRY_INFO lpCacheEntry = NULL;
>AnsiString IECookieFileSize="";
>.
>.
>.
>if (lpCacheEntry->CacheEntryType & COOKIE_CACHE_ENTRY)
>{
>                      IECookieFileSize = lpCacheEntry->dwSizeHigh;
>                      ShowMessage(IECookieFileSize);
>}

Well, it'll return 0 for any cookie that's less than 4 GB in size.

Quite frankly, I don't want to see any cookie that big!

(You probably meant dwSizeLow rather than dwSizeHigh.)

Alan Bellingham
-- 
ACCU Conference 2005 - 20-23 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <45eub0hedjbbb8mbbmlqe6v3i9vp350mgu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40bf2a80@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,37d281c166c8dd41
X-Google-Attributes: gid10cc67,public
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: INTERNET_CACHE_ENTRY_INFO question
Date: Thu, 03 Jun 2004 15:42:57 +0100
Reply-To: alanb@episys.com
Message-ID: <45eub0hedjbbb8mbbmlqe6v3i9vp350mgu@4ax.com>
References: <40bf2a80@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.646
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 1086273775 193.129.251.130 (3 Jun 2004 07:42:55 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail