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
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer

Reply via email to