When DDS Error occurs in C# Application ,DDS library pop up another Console process

3 posts / 0 new
Last post
rohitrx4's picture
Offline
Last seen: 1 month 1 day ago
Joined: 02/15/2019
Posts: 9
When DDS Error occurs in C# Application ,DDS library pop up another Console process

Hello,

In my application I am using RTI DDS Publisher and Subscriber. This application built in C# and IDL supported files generated in C++. We handled exception in C# application but when DDS Exception occurs it pops up Console first and then it went to Try Catch Exception.

I am tring to send invalid Object to writer but it should throw the exception instead of showing on console.

Please let me know how to avoid Console pop up for any error (DDS Exception).

Waiting for Your reply.

Thanks,
Rohit Kshirsagar. 

Organization:
irwin's picture
Offline
Last seen: 2 days 7 hours ago
Joined: 08/14/2010
Posts: 15

Robit,

   The reason why you are getting pop up is that RTIDDS was trying to log an error to system out. To stop that set up logging to be either silent or log to a file.

 

                                      Irwin

rohitrx4's picture
Offline
Last seen: 1 month 1 day ago
Joined: 02/15/2019
Posts: 9

Hello Irwin,

Thanks for information I am able to resolve my issue.

Thanks again.

Regards,
Rohit Kshirsagar