Article View: borland.public.cppbuilder.nativeapi
Article #10914Re: SHGetSpecialFolderPath wired problem..please help
From: Ed Mulroy [TeamB]
Date: Sun, 21 Mar 2004 16:21
Date: Sun, 21 Mar 2004 16:21
37 lines
2321 bytes
2321 bytes
Interesting - after I posted my reply and refreshed the newsgroup
messages your message appeared using almost the same technique - great
minds think alike! <g>
> ...does anyone know if there is an alternative for IUrlHistoryStg2
for
> use under Windows 95/98...
What I posted clears the history on my wife's Win98 SE machine. I
seems to depend upon the version of IE rather than on the version of
Windows. Her machine has IE 5.50.
I just tried it on my Win95 machine (the original Win95 version
4.00.950a, not OEMSR2) and it worked. That machine also has IE 5.50.
. Ed
> Martin C wrote in message
> news:405db80c@newsgroups.borland.com...
>
> I've found the following code on mers.com, which is really
> great, although it has minimum OS requirements (Millennium,
> Windows 2000) which is not so good, so does anyone know
> if there is an alternative for IUrlHistoryStg2 for use under
> Windows 95/98
>
> CoInitialize(NULL);
> IUrlHistoryStg2* pUrlHistoryStg2 = NULL;
> HRESULT hr = CoCreateInstance(CLSID_CUrlHistory, NULL,
> CLSCTX_INPROC,
> IID_IUrlHistoryStg2,(void**)&pUrlHistoryStg2);
> if (SUCCEEDED(hr))
> {
> hr = pUrlHistoryStg2->ClearHistory();
> pUrlHistoryStg2->Release();
> }
> CoUninitialize();
Technical Details
Message-ID:
<405dc123$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<405d9a1b@newsgroups.borland.com> <405db80c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2997fc081f04d0de X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-21 08:39:33 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <405d9a1b@newsgroups.borland.com> <405db80c@newsgroups.borland.com> Subject: Re: SHGetSpecialFolderPath wired problem..please help Date: Sun, 21 Mar 2004 11:21:50 -0500 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <405dc123$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079886115 24.74.175.102 (21 Mar 2004 08:21:55 -0800) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail