Re: Did MS changed some interface methods in Outlook View Control 2003

From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 09/17/04


Date: Fri, 17 Sep 2004 14:36:25 -0700

Is this the first or the second time you go through this code?
And if the second, check if you have called SaveCompleted...

-- 
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Hawk" <Hawk@discussions.microsoft.com> wrote in message 
news:A5FE1D65-C9D1-4673-8B11-74E2B967442A@microsoft.com...
> Hi,
>
> I have an ole container application, it works well with Outlook View 
> Control
> 2002 and 2000. After installed Outlook 2003, my application can not work 
> with
> the new control, it reports error when saving data.
>
> I can trace to the bug point in my codes,
>
> hResult = pObject->QueryInterface( IID_IPersistStorage, ( LPLPVOID ) &
> pPersist );
> if ( SUCCEEDED( hResult ) )
> {
>    hResult = m_pObj->GetUserClassID( &clsid );
>    WriteClassStg( pStorage, clsid );
>    hResult = pPersist->Save( pStorage, FALSE );
> }
>
>
> I also tested the new OVC control in ActiveX Control Test Container, when
> testing with the "Save to Storage", it pops an error said
> "IPersistStorage::Save() Failed : Unspecified error." For "Save to 
> Stream..."
> test, the error message is "IPersistStream(Init)::Save() Failed : 
> Unspecified
> error."   And more strange, the CPU usage grows to 100% after close the 
> error
> message box, you can see a process of Outlook in TaskManager, that process
> keeps using up the CPU.  But with old OVC 2000/2002, all are successful 
> and
> good.
>
> Can anyone help me?
>
> Thanks.
>
>
>
>
> 


Relevant Pages

  • Re: Confusing POST behavior -- doing it twice?
    ... DXTrim ... > I am confused about what goes on with method POST. ... > in the A control and click to submit it. ... > 2 - It then must be going through a second time, ...
    (comp.lang.php)
  • Re: Button Click events only firing on second click
    ... __doPostBack is setup properly. ... >> control are only firing their OnClick events when the ... >> user clicks on them for the second time. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: My my, how time flies ...... its been about "1 hour" -- anyone cracked CryptoSMS yet?
    ... > Here is yet another example of an exact quote: ... > This was the second time I had to point this out to you. ... Try to control yourself. ... My original comment was made in passing. ...
    (sci.crypt)
  • Re: Button Click events only firing on second click
    ... LoadScreen that loads in the appropriate UserControl. ... every page_load of every control. ... >> user clicks on them for the second time. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: CPU usage
    ... our app will be running in background (background process). ... The app run when user log on in windows. ... Then, for avoid to increase the cpu usage by process, we are trying to control the cpu usage. ...
    (microsoft.public.dotnet.languages.vc)

Loading