Thanks, Peter. I checked out the Outlook COM interface, noticed that the MailItem.HTMLBody property returns a string, which is implemented as BSTR in COM (more on this here: https://bytecomb.com/vba-internals-string-variables-and-pointers-in-depth/).

I tested the maximum lengths of strings with Word and my images crash under these circumstances: - Pharo 8.0 64 bit when returning ByteString is longer than 16.379 characters - Pharo 8.0 32 bit when returning ByteString is longer than 260.080 characters (approximately).

64 bit image crashes without any warning, however the 32 bit one crashes with


I presume this is the same behaviour as you report, Peter. I'm attaching the crash.dmp from 32 bit image. I believe that the crash happens when calling COMDispatchInstance>>propertyNamed: with the lengthy string to be returned.

Pablo, I hope you have some time to check this, my knowledge ends somewhere here ... :-|

Thanks and best wishes,
Tomaz




<<attachment: crash.dmp.zip>>

Reply via email to