A
Aleksey
Hi All!
I have a following problem:
We have a unmanaged dll wrote in C. In this dll we have 2 classes: class Foo
and class Foo_Impl that inherited from Foo. Foo class was created to be
exported from dll, like interface. So, there is a function in the dll,
something like that:
Foo *STDCALL create_foo() {return (new Foo_Impl);}
Now I have a managed code in C# that need use this dll. I made my wrap
managed dll, where I call functions of Foo by entry points, but in spite of
creation Foo_Impl in unmanaged dll, my calls of it's methods arrive into Foo
class!!!
Did anybody solve problem like this? What should I do?
I may change unmanaged dll to export functions by AnsiC. But is is a lot
of changes. It should be another way.
Thanks a lot
I have a following problem:
We have a unmanaged dll wrote in C. In this dll we have 2 classes: class Foo
and class Foo_Impl that inherited from Foo. Foo class was created to be
exported from dll, like interface. So, there is a function in the dll,
something like that:
Foo *STDCALL create_foo() {return (new Foo_Impl);}
Now I have a managed code in C# that need use this dll. I made my wrap
managed dll, where I call functions of Foo by entry points, but in spite of
creation Foo_Impl in unmanaged dll, my calls of it's methods arrive into Foo
class!!!
Did anybody solve problem like this? What should I do?
I may change unmanaged dll to export functions by AnsiC. But is is a lot
of changes. It should be another way.
Thanks a lot