c#

2 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months ago
Joined: 04/05/2022
Posts: 3
Request reply with .net5

Dear Community,

I'm trying to use the request reply pattern in net5 under Linux (Debian 11 x64).

I see in the User Manual (Part4 Chapter 27) how they supposed to work, and I found cpp examples.

I also found a forum topic explaining the usage for dotnet framwork 4.5 (a dll reference is required from %programfiles%\...), but I can't seem to find neither the Requester nor the Replyer types for .net5.

Can you please help me how to use the request-reply pattern with .net5 (netcore) from under Linux (and possibly from under Windows too).

Thank you!

Organization:
14 posts / 0 new
Last post
Offline
Last seen: 2 years 3 months ago
Joined: 10/27/2021
Posts: 9
Error DDL nddsc not found (Visual Studio C#)

Hi community, 

 

After building and running my project in Visual Studio 2019 I get the following error.

System.DllNotFoundException: 'Cannot load DLL nddsc ...' HRESULT: 0x8007007E

 

 

- I used the RTI Connext package from NuGet (version 6.1.0.3). This installed Rti.ConnextDds and Rti.ConnextDds.Native.

- The project is based on .NET Framework 4.6.1

- With rtiddsgen I created the hello_world.cs and hello_worldPlugin.cs from hello_world.idl from example 2 of the example documenation C#

2 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months ago
Joined: 02/20/2020
Posts: 6
System.Runtime.Serialization.SerializationException: 'Type 'DDS.Retcode_PreconditionNotMet'

I'm creating integration tests for my DDS application. To acquire readers, writers I'm using configuration through QoS XMLs. When running two specific test cases from the total of 32 cases, the second case always fails. When debugging the code, there seems to be a problem in my configuration, but I can't seem to figure it out. There is an ErrorCode from DDS, but that generates a SerializationException:

Stacktrace:

1 post / 0 new
Offline
Last seen: 2 years 4 months ago
Joined: 02/20/2020
Posts: 6
Packaging IDL for reuse in C# projects

I'm looking to split common IDL and specific IDL for reusing purposes in a C# environment. I've created a Position.idl file and a Car.idl file in separate projects. I've used rtiddsgen to generate the type files for position and build a dll (based on the example solution).

4 posts / 0 new
Last post
Offline
Last seen: 7 years 8 months ago
Joined: 07/26/2016
Posts: 6
Run time error for c++ idl project on machine without visual Studio 2012

Hi,

I am developing application with rti DDS in visual studio 2012 using c# language.

I had included in the solution the C++ project of the idl type and have referrence for it inanother solution project.

When I try to run the app in a machine without visual studio 2012 I get many run time errors of dll not found or its dependencies.
I check it by 'Dependency walker'.

Only if I install VS 2012 errors gone (VS 2015 not solved the problem).

2 posts / 0 new
Last post
Offline
Last seen: 8 years 3 months ago
Joined: 07/30/2015
Posts: 2
Read with query condition - .Net thread safety

I am using the C# .Net API for RTI Community DDS.

I am trying to query DDS on demand using a QueryCondition and read_w_condition() on a typed DataReader. I am trying to use the DataReader to access or take data I have previously published on demand from the application so that I can use DDS as a store of data. I am using multiple threads as I am servicing multiple interfaces.

Subscribe to RSS - c#