Click here to Skip to main content
15,896,542 members

Comments by AlwaysLearningNewStuff (Top 200 by date)

AlwaysLearningNewStuff 10-Jul-18 5:16am View    
Everything works now!

You were right, I had to add method to the interface that fires the event.

I did so from the start but because I failed to spot a typo (see Update #1) I thought that I did something wrong.

My paranoia became even bigger when C++ client failed to work properly.

As stated in the latest update, I have implemented it badly (no message loop).

After fixing all these "small" mistakes, everything works fine and as expected.

Thanks for the suggestions and for reaching out to help.

Best regards until next time! ;)
AlwaysLearningNewStuff 9-Jul-18 3:34am View    
I will try to rephrase the title, so the OP and updates become coherent content.

It will take time, but I will do it...

The point is that I am trying to marshal interface from 1 apartment into the other, and am failing.

At first, I failed with the IStream, now I fail elsewhere...

Thank you for the suggestions.
AlwaysLearningNewStuff 9-Jul-18 3:33am View    
Deleted
I will try to rephrase the title, so the OP and updates become coherent content.

It will take time, but I will do it...

The point is that I am trying to marshal interface from 1 apartment into the other, and am failing.

At first, I failed with the IStream, now I fail elsewhere...

Thank you for the suggestions.
AlwaysLearningNewStuff 6-Jul-18 10:41am View    
Deleted
I have added logging everywhere I could. It seems that CoGetInterfaceAndReleaseStream fails with *The parameter is incorrect'.

I apologize for disturbing, but can you offer some advice?

I am new to COM, and can not cope at the moment.

I will continue to seek solution on my own, and will again update the post if anything relevant pops out.

Thanks
AlwaysLearningNewStuff 6-Jul-18 7:28am View    
Thanks for the vote :)