B
bidalah
Hi all,
Basically I need to create a managed wrapper for the class "A" below:
class A : public CModule
{
public:
A(B& bees);
virtual ~A();
.....etc. (it's actually a very big class)
}
As you can see, the constructor above takes an input which is a
reference to another unmanaged class called "B"
class B
{
public:
B();
virtual ~B();
.....etc. (also a big class)
}
I have successfully created a wrapper for 'B'. However, the
constructor for 'A' has me stymied. How do you create a managed
wrapper for an unmanaged class that requires an instance of another
unmanaged class in its constructor? Any help would be appreciated.
Basically I need to create a managed wrapper for the class "A" below:
class A : public CModule
{
public:
A(B& bees);
virtual ~A();
.....etc. (it's actually a very big class)
}
As you can see, the constructor above takes an input which is a
reference to another unmanaged class called "B"
class B
{
public:
B();
virtual ~B();
.....etc. (also a big class)
}
I have successfully created a wrapper for 'B'. However, the
constructor for 'A' has me stymied. How do you create a managed
wrapper for an unmanaged class that requires an instance of another
unmanaged class in its constructor? Any help would be appreciated.