Hello,

Thanks for your fast reply.
I'm using Visual C++ Express 2010 and have OpenSplice HDE Release V6.1.0 For 
x86.win32 installed. I work on a Windows 7 64-bits machine, but I'm compiling 
32 bits.

Kind regards,

Pepijn Schoen

From: developer-boun...@opensplice.org 
[mailto:developer-boun...@opensplice.org] On Behalf Of Nawel Hamouche
Sent: donderdag 10 mei 2012 10:34
To: developer@opensplice.org
Subject: Re: [OSPL-Dev] Generated files for C++ RMI

Hi,
Could you tell us more on your development environement (compiler, OS,  ) 
please.

Regards,


--
Nawel HAMOUCHE
Senior Engineer
PrismTech FRANCE
nawel.hamou...@prismtech.com<mailto:nawel.hamou...@prismtech.com>
+33 (0)1 69 01 53 54

PrismTech is a global leader in standards-based, performance-critical 
middleware. Our products enable our OEM, Systems Integrator, and End User 
customers to build and optimize high-performance systems primarily for 
Mil/Aero, Communications, Industrial, and Financial Markets.


On 10/05/2012 10:00, Pepijn Schoen wrote:
Hi all,

I'm trying to get a RMI service working - I want to write a C# application, but 
generating C# files from the IDL crashes for me. I decided to write a DLL in 
C++ which exposes just the functions I need for my application and communicates 
using OpenSplice RMI. To get familiar with RMI in OpenSplice, I decided to 
build the sample Hello World application. I've successfully generated C++ files 
from the following IDL, taken from the documentation:

#include "dds_rmi.idl"
module HelloWorld
                {
                // interface definition
                local interface HelloService : ::DDS_RMI::Services
                {
                               string greet();
                };
};

When compiling the code (after having found the right .lib files, which was a 
trial and error hassle), the following error pops up
1>c:\temp\schoen\rhcs\branches\demo_3\opensplicehello\opensplicehello\helloservice_interfaceproxy.cpp(111):
 error C2039: 'getCleanerQuery' : is not a member of 
'DDS_RMI::HelloWorld::HelloServiceInterfaceProxy'
The lines around it read:
108 status = _dr->return_loan(_outSeq, _infoSeq);
109
110 // Clean all samples not for me
111 _rc = this->getCleanerQuery(_op_greet, _in.req_info);
112 status = _dr->take_w_condition( _outSeq, _infoSeq, DDS::LENGTH_UNLIMITED, 
_rc.in() );

I've tried to search for this specific error, but no relevant results came up. 
Am I doing something wrong? I've tried to pick up information from the 
examples, but it only contains a Java RMI example, not what I was looking for.
Any advice?

Kind regards,

Pepijn Schoen




_______________________________________________

OpenSplice DDS Developer Mailing List

Developer@opensplice.org<mailto:Developer@opensplice.org>

Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer@opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer

Reply via email to