Hi All
I have a code in VC.
I create its dll in VC6.0
There are some private variables in VC dll.
I have to call the dll in the C#, dll can be called easily;
My requirement is this I want to call the class in the C#, which is in the dll and then create the object of the class and using the functions which are in the dll of VC6.
Kindly guide me how to access the class of vc6 dll in the C# and using the dll by creating its class object in C#.
i have created a dll in which like there is a class
class calculate
{
void func1();
void func2();
};
i create the dll of this class
and call the dll in the c#
i want to create the object of the class in c#
like
class calculateObj = new class();
calculateObj.func1();
as i created a sample create object
my question is this how to create object of class which is in dll of of vc
i want to access the class in c# and then
creating its object and do more operation by accesing class in c#