[Ace-users] Re: [ciao-users] Calling ccm_activate on CIAO 0.5.9
Gan Deng
gan.deng at vanderbilt.edu
Thu Aug 30 17:32:02 CDT 2007
Santos,
The header file is:
#include "CCM_SessionComponentC.h"
and the library name is CIAO_Container.
Take care,
Gan
santos . wrote:
> Hi,
>
> I'm trying to invoke ccm_activate on a component created from the home
> but I'm receiving compilation errors. Here is the code:
>
> Client_var new_client = home_client->create();
> ::Components::SessionComponent_var session_comp =
> ::Components::SessionComponent::_narrow(new_client);
> session_comp->ccm_activate();
>
> I'm getting the following compilation error:
>
> test.cpp: In function 'int main(int, char**)':
> test.cpp:90: error: 'SessionComponent_var' is not a member of 'Components'
> test.cpp:90: error: expected `;' before 'session_comp'
>
> I guess I need to insert an include file in the header but I don`t know
> which one. I`ll appreciatte if you can help me with this question.
>
> Thank you.
>
> Santos
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
More information about the Ace-users
mailing list