we're accessing a Groupwise 8 mailbox via the Object API of the 8.0.1
version of the Groupwise Client. There were a few times we stumbled over
the following exception:

12.12.2009 02:24:40 Error An invalid argument was passed in the
function call. at System.RuntimeType.ForwardCallToInvokeMember(Strin g
memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData)
at GroupwareTypeLibrary.DIGWAttachment2.get_Message()

Before executing this call, we checked that the ObjectType of the
Attachment object was equal to AttachmentTypeConstants.egwMessage, sdo
that shouldn't be the problem.

Best regards, Martin Schmidt.