Some clients use multiple client interfaces to take advantage of what more than one client API has to offer. Typically, these clients use MAPI for some tasks and a simpler API such as the Active Messaging Library for other tasks. If you take advantage of both the MAPI and the Active Messaging Library client interfaces, you will need to convert between the two types of identifiers that are used for opening objects. Whereas MAPI objects are accessed with binary entry identifiers, Active Messaging Library objects are accessed with hexadecimal message identifiers.
To reverse the process — converting an Active Messaging Library message identifier to a MAPI entry identifier — call FBinFromHex. FBinFromHex converts a hexadecimal string to binary data.