Hi I was wondering what the behaviour of GetContentsTable() should be. Should it return a pointer to the existing table or should it create a fresh view (with its own cursor, sort order and restriction)? The documentation at http://msdn2.microsoft.com/en-us/library/ms528853(EXCHG.10).aspx doesn't really seem to specify what's actually required. My implementation used to return a fresh view each with its own column set, sort and cursor. This appears to work perfectly in OL2007. In Outlook 2003 this would render an empty view unless all views shared the same sort order. What's actually required here? Is it a pointer to an existing table view or is it a fresh view? Cheers Win
It is always a brand new IMAPITable that shares nothing with any other instance of that folder's contents table. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Windoze" wrote in message news:%23YKG2pZbIHA.5900@TK2MSFTNGP02.phx.gbl... > Hi > > I was wondering what the behaviour of GetContentsTable() should be. > > Should it return a pointer to the existing table or should it create a > fresh view (with its own cursor, sort order and restriction)? > > The documentation at > > http://msdn2.microsoft.com/en-us/library/ms528853(EXCHG.10).aspx > > doesn't really seem to specify what's actually required. My implementation > used to return a fresh view each with its own column set, sort and cursor. > This appears to work perfectly in OL2007. In Outlook 2003 this would > render an empty view unless all views shared the same sort order. > > What's actually required here? Is it a pointer to an existing table view > or is it a fresh view? > > Cheers > Win >