English 中文(简体)
How do I get/set Domino read status of messages via Domino COM Object?
原标题:

I have an application that interacts with Domino via the Domino COM object. I can send, find, delete messages without problem but getting/setting the unread status does not work. The Domino COM object has method to get the read status but it always come back as read. Anyone have a workaround that works? I ve had no success with anything I ve found searching online.

最佳回答

Actually with some more research it looks like getting/setting the unread status through the COM API doesn t work. However using the C++ API would work - and I should be able to integrate this with my existing C# project as a managed C++ project.

问题回答

Unread marks in Domino are a funny old beast. They re derived from multiple sources: whilst you have an internal table of Notes IDs within a specific NSF, you also have an "unread journal" stored in the local Notes client s CACHE.DSK file.

All recent versions of Notes (i.e. in the last 8 / 9 years) move this unread table within the Notes client (to DESKTOP.DSK I think), and also make them server-aware, so that APIs can get a handle on unread marks.

Unfortunately, this means that you re probably out of luck with things like COM but as you ve found, the C++ API should be OK. IBM: The Architecture of Unread Marks in Lotus Notes





相关问题
How can i add a button to all windows explorer instances?

I am trying to add a button to one of the existing tool bars in any windows explorer instance. After much research i figured out that BHO (browser helper objects) are the best way to hook to ...

Hunting memory leaks

I m finding leaked heap blocks by using the following command in WinDbg !heap –l With each leaked heap block I get, I m running to following to get the stack trace. !heap -p -a leakedheapblock The ...

Why use CComBSTR instead of just passing a WCHAR*?

I m new to COM. What exactly is the advantage of replacing: L"String" with CComBSTR(L"String") I can see a changelist in the COM part of my .NET application where all strings are replaced in this ...

IThumbnailProvider and IInitializeWithItem

I am trying to develop an IThumbnailProvider for use in Windows 7. Since this particular thumbnail would also be dependant on some other files in the same directory, I need to use something other than ...

Getting a byte array from out of process C++ COM to C#

What s the best way to get a chunk of memory (i.e. void*) from a COM server to C#? We have been using an IStream (using CreateStreamOnHGlobal) and passing that back, which worked. However when we ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks

热门标签