how to have same class signature between 2 CLR dll's ?
Hi,
I am getting error c3767 which is being caused as my vector class in one clr dll is getting declared/defined as something else or private.
How can I ensure that my vector class signature remains uniform and I can pass it as an argument between the 2 dlls?
Is declaring it as __declspec () my only option ?
------------
[declared in a common header file]
class vector3 {
...
}
[/clr dll 1]
public ref class X {
void Init(vector3 *v) {
}
}
[/clr dll 2]
public ref class Y {
X ^x;
vector3 *v;
void somefunc() {
x->Init(v); //causes c3767 because vector3 signature is probably different
}
}
------------
thanks in advance,
madan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement