Solace Messaging C API and ATM8 message

Is there any available C/C++ library to accommodate ATM8 message format?
I need to send my message as binary ATM8.

Hi @cjasniew, I’m not aware of ATM8. Are there any resources that describe it that you could point me to?

Do you have any examples of Solace working with Google Protobuf forming and sending a message?

@cjasniew I’ve worked on a couple with customers. Nothing I can share, though, unfortunately.

How to get message len for solClient_opaqueMsg_pt msg_p?

The memory for message buffers accessed by msg_p is managed by the API. If you’re trying to access the message payload, you need solClient_msg_getBinaryAttachmentPtr, which returns both the pointer and the size of the payload.

I did and it worked. Thanks.
When i link my Solace example program with protobuf libprotobuf.a it crashes in CreateFlow(). Any ideas?

Odd - the only difference being that you linked libprotobuf.a? The only thing I can suggest off the top of my head is to check you’re linking the right version of the protobuf library - have you used this version with other code?