I’ve submitted questions regarding various issues I’ve run across using the various versions of the C API.
Since none them have been responded to I’m curious as to whether anyone can provite information regarding anyone to contact for C API development support within IBM / Lotus.
Since there doesn’t appear to be any means supported in the C API, C++ API, or the COM / OLE automation classes to actually print individual / selected notes within databases I’ve turned to the “EditorPrintNoteToBitmap” function.
We process a high volume of notes databases of various versions.
For Notes 4.X databases the function appears to work fairly reliably. One problem with the function when used on Notes 4.X dababases is that since it is converted the note to a bitonal bitmap there are at times portions of the bitmap that are turned into “black blobs”. In particular cases where the user’s preferences put an images / background behind their “from” information which makes that information unreadable. It would be nice if there were some means to allow for a level of dithering / aliasing of the original image before it is all written to the bitonal bitmap.
For Notes 5.X databases the function always fails, but in a manner that allows other procssing on the databse to continue.
On Notes 6.X databases the function generally works, however, there are numerous failures similar those with Notes 5.X databases (there appears to be certain bitmaps / images that users copy into their notes that causes this to happen fairly consistently), and occasional “division by zero” errors that cause the API to GPF in a way that even exception handling will not allow it to recover without closing the application and restarting it.
Notes 6.X databases appear to have numerous instances where the text writen to the bitmap “bleeds together”. That is text from multiple paragraphs overwrite each other.
On some Notes 6.X databases there are documents with attachments that get the attachment name returned as “FILE0001” (for notes with multiple attachments “FILE0002”, “FILE0003”, etc) rather than the name of the attachment that shows up when the note is viewed within Notes when the “MailGetMessageAttachmentInfo” is called.
The “MailExtractMessageAttachment” still works successfully, however, the “random” file name has to be used instead of the “real” file name that is visible when the note is viewed within Notes.