PC Forms: No Error Returned by MEFWriteItem() Function (105177)
The information in this article applies to:
- Microsoft Electronic Forms Designer, when used with:
- Microsoft Mail for PC Networks 3.0
- Microsoft Mail for PC Networks 3.2
This article was previously published under Q105177 SYMPTOMS
With version 1.0 of Microsoft Electronic Forms Designer, you can use the
MEFWriteItem() function to add information to the E-Form package. When you
use MEFWriteItem() to add a binary file to the package by setting the type
parameter equal to MEF_BINARYFILE, unexpected return values may be
generated. For example, if an invalid path is given to the binary file to
be attached, the MEFWriteItem() function will return MEF_OKAY, as if the
file were successfully attached.
However, when the message is sent and the package is saved, a "File Open
Failed" error will be presented.
CAUSE
The Microsoft Electronic Forms Designer does not take a snapshot of the
file for the binary file type. Because of this, it does not try to open the
file when it is written to the package. Instead, it attempts to open the
file when the package is saved. This is why the error "File Open Failed" is
returned when the package is saved, as opposed to when the file is attached
using MEFWriteItem().
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB105177 |
---|
|