Share via

How Can I Send a COM Object To Message Queue C++

Peter Boshra 66 Reputation points
2022-06-01T13:08:16.023+00:00

I read this doc https://learn.microsoft.com/en-us/previous-versions/windows/desktop/msmq/ms705286(v=vs.85)
it says that I can send a COM Object if It implements an "IPersistStream" then I did it
but how can I send this COM Object To Message Body which The Types are Different

using C++

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

0 comments No comments

Answer accepted by question author

RLWA32 52,571 Reputation points
2022-06-01T19:13:37.007+00:00

There is an old Microsoft sample here - mqpers. I have not tried to build it but considering it's age you may have to tweak the code a little to get it to work.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.