G
Guest
Dear all,
I am trying to write a class in C++, exported it in DLL.
Does anyone know how I can import them in C#?
For example:
in C++
class DllExport Abc
{
public:
int foo1;
FILETIME anytime;
};
in C# I would like to access the member variables like this.
....
Abc abc;
abc.foo1=10;
How can I do so? Which version of visual studio should I use to build the
DLL and C# program?
Thanks
Tony Siu Chun Tung
I am trying to write a class in C++, exported it in DLL.
Does anyone know how I can import them in C#?
For example:
in C++
class DllExport Abc
{
public:
int foo1;
FILETIME anytime;
};
in C# I would like to access the member variables like this.
....
Abc abc;
abc.foo1=10;
How can I do so? Which version of visual studio should I use to build the
DLL and C# program?
Thanks
Tony Siu Chun Tung