|
From: zareen <zar...@do...> - 2017-01-16 06:09:34
|
Hello,
I have rebuild OpenDDS with the changes specified in your earlier mail
and successfully generated the wrapper dll. But when I link all the dll
files, my c# application crashes. I have tried debugging it and it
points out an error on line number 438 void
wait_for_startup(){barrier_.wait()); in Service_Participant.h. I have
added OpenDDS_Dcps.dll, OpenDDS_FACE.dll, OpenDDS_Federator.dll,
OpenDDS_Monitor.dll, OpenDDS_monitor.dll, OpenDDS_Multicast.dll,
OpenDDS_Rtps.dll, OpenDDS_Rtps_Udp.dll, OpenDDS_Shmem.dll,
OpenDDS_Tcp.dll and OpenDDS_Udp.dll and dlls related to InfoRepo to the
references of my c# solution file.
Also is there a need to rebuild OpenDDS dependencies that is ACE
and TAO with /clr support? When I try to build ACE project with /clr
support, it fails.
Looking forward to your reply.
Regards,
Zareen Ahmad
On 12/30/2016 08:37 PM, Adam Mitz wrote:
> Hi Zareen,
>
> On 12/30/2016 12:07 AM, zareen wrote:
>> Just a gentle reminder regarding the previous issue about the July
>> 2010 article on OpenDDS compatibility. I would like to know about any
>> proceedings regarding the same.
> I was able to build the sample code with OpenDDS 3.9 and Visual Studio
> 2010 after making the following changes:
>
> 1. DDSCodeGen.mwc
> Replace two instances of the keyword "specific" with any other
> identifier (for example "c_sharp" and "visual_basic"). MPC uses
> "specific" for a different purpose at this place in the file.
>
> 2. DDSCodeGenBase.mpb
> Add the following lines at the same scope as the similar lines for "libout":
> Release::libpaths = $(DDSCODEGEN_ROOT)/Output/Release
> Debug::libpaths = $(DDSCODEGEN_ROOT)/Output/Debug
> After making changes to MPC's input files (*.mwc, *.mpc, *.mpb), make
> sure to re-generate the Visual Studio solution.
>
> 3. Remove OpenDDS 2.x transport configuration
> In Common/Common.h, remove the #include line that ends with
> TheTransportFactory.h.
> In Common/DDSBase.h, remove statements containing TheTransportFactory
> and related code ("attach").
>
> 4. In the OpenDDS source code, make the change that David Cornelius
> suggested in order to work-around a bug in Visual C++ compiler with
> /clr. Build OpenDDS and the MNB example code.
>
>
>> Also, there was no follow up of the mail sent by Steve Bowman.
> I was told that he has been in contact with someone from your company
> but we can handle that off of the mailing list.
>
> Thanks,
> Adam Mitz
> Principal Software Engineer
> Object Computing, Inc.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> opendds-main mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/opendds-main
>
>
|