Progress
External Program
Interfaces
getMEMPTR
This function returns a reference to a MEMPTR variable that contains exactly all the bytes of a BytesMessage. This function implicitly calls reset. If the message was in a write-only mode, it will be in a read-only/reset mode after the call. The getMemptr function does not create a copy of the MEMPTR variable; it returns a reference to the data maintained by the Message object. The deleteMessage call releases the variable’s memory, and the caller must copy any data it needs or needs to modify before deleting the message:
For information on this function in context, see the "Writing and Reading MEMPTR Bytes Data" section in Accessing SonicMQ Messaging From the Progress 4GL."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |