Archived
This forum has been archived. Please start a new discussion on GitHub.
getDefaultContext() using C#
Dear ZeroC,
I am currently trying out the feature to replace the communicator's default context using getDefaultContext()/ setDefaultContext().
Attached you find the somewhat modified hello example from the Ice distribution which tries to make use of this feature.
Unfortunately the new context doesn't arrive on the server side. I have tried the respective c++ example which works well. Also, the combination between C# server and C++ client works well thus I think that the bug must be on the C# client side. I hope you can find it!
regs,
Stephan
I am currently trying out the feature to replace the communicator's default context using getDefaultContext()/ setDefaultContext().
Attached you find the somewhat modified hello example from the Ice distribution which tries to make use of this feature.
Unfortunately the new context doesn't arrive on the server side. I have tried the respective c++ example which works well. Also, the combination between C# server and C++ client works well thus I think that the bug must be on the C# client side. I hope you can find it!
regs,
Stephan
0
Comments
-
Are you using Ice 3.0 or earlier? If so, can you upgrade to 3.0.1 please? We fixed a number of bugs with respect to the default context for 3.0.1.
Cheers,
Michi.0 -
Hi Michi!
Yes, I was using Ice 3.0.0 at time of trying. I installed 3.0.1 now and compiled it with .net 2.0. It's working now! Thanks a lot!
Stephan0