I'd like to pass an object as parameter. For example, If I make this interface:
/////////////////////////////////////////////
//Define the MyClass class
#include "myclass.idl"
interface sample
{
void MyFunction(in MyClass my_object);
}
/////////////////////////////////////////////
, the generated code for the function looks like this:
void sample::MyFunction(MyClass_ptr my_object);
However, I needn't a MyClass_ptr (pointer to MyClass) type parameter; I would like
a MyClass_i (implementation) parameter, because my code is added on the implementation class.
How can I solve this?
Finally, I need the same function but with out-parameters (out MyClass in this case).
Thanx,
Demetrio
Spain
/////////////////////////////////////////////
//Define the MyClass class
#include "myclass.idl"
interface sample
{
void MyFunction(in MyClass my_object);
}
/////////////////////////////////////////////
, the generated code for the function looks like this:
void sample::MyFunction(MyClass_ptr my_object);
However, I needn't a MyClass_ptr (pointer to MyClass) type parameter; I would like
a MyClass_i (implementation) parameter, because my code is added on the implementation class.
How can I solve this?
Finally, I need the same function but with out-parameters (out MyClass in this case).
Thanx,
Demetrio
Spain