🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SHGetSpecialFolderPath wired problem..please help

#10920
From: Martin C
Date: Sun, 21 Mar 2004 13:53
22 lines
1628 bytes
Ed, While testing the code below, believe it or not...it worked fine with
me, then I tried again and it didn't work, then I tried again and it worked
!!! Extremely wired behavior.
I am testing on Windows XP and IE 6
Any suggestions ?

BR

> >
> >    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: <405e0137@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <405d9a1b@newsgroups.borland.com> <405db80c@newsgroups.borland.com> <405dc123$1@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 13:09:33 PST
From: "Martin C" <martinc@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <405d9a1b@newsgroups.borland.com> <405db80c@newsgroups.borland.com> <405dc123$1@newsgroups.borland.com>
Subject: Re: SHGetSpecialFolderPath  wired problem..please help
Date: Sun, 21 Mar 2004 15:53:32 +0200
Lines: 24
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: 81.10.4.238
Message-ID: <405e0137@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079902519 81.10.4.238 (21 Mar 2004 12:55:19 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail