Article View: borland.public.cppbuilder.nativeapi
Article #10912Re: SHGetSpecialFolderPath wired problem..please help
From: Martin C
Date: Sun, 21 Mar 2004 08:41
Date: Sun, 21 Mar 2004 08:41
21 lines
1535 bytes
1535 bytes
Hi all,
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
Thanks in advance
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:
<405db80c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<405d9a1b@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 07:57:22 PST From: "Martin C" <martinc@aol.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <405d9a1b@newsgroups.borland.com> Subject: Re: SHGetSpecialFolderPath wired problem..please help Date: Sun, 21 Mar 2004 10:41:22 +0200 Lines: 23 Organization: V Safe 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.1165 NNTP-Posting-Host: 62.135.27.30 Message-ID: <405db80c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079883788 62.135.27.30 (21 Mar 2004 07:43:08 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail