Re: Did MS changed some interface methods in Outlook View Control 2003
From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 09/17/04
- Next message: Alexander Nickolov: "Re: Can CLSID be used to determine File Extension?"
- Previous message: Hisham Shafiq: "Can CLSID be used to determine File Extension?"
- In reply to: Hawk: "Did MS changed some interface methods in Outlook View Control 2003"
- Next in thread: Hawk: "Re: Did MS changed some interface methods in Outlook View Control"
- Reply: Hawk: "Re: Did MS changed some interface methods in Outlook View Control"
- Messages sorted by: [ date ] [ thread ]
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. > > > > >
- Next message: Alexander Nickolov: "Re: Can CLSID be used to determine File Extension?"
- Previous message: Hisham Shafiq: "Can CLSID be used to determine File Extension?"
- In reply to: Hawk: "Did MS changed some interface methods in Outlook View Control 2003"
- Next in thread: Hawk: "Re: Did MS changed some interface methods in Outlook View Control"
- Reply: Hawk: "Re: Did MS changed some interface methods in Outlook View Control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading