I have a VC# dll created in Visual Studio 2005. I have added this to my VC++ (.NET) code and want to call a function in the dll. I dont know how to go abt it. I tried creating an instance of the class in VC# code, but that doesnt work......
My dll has the following code ..
namespace
mcMath{
public class Class1{
private bool bTest = false; /////{
return val1 + val2;}
///{
get{
return bTest;}
set{
bTest =
value;}
}
}
}
And I have added this dll as ...
#using
"mcMath.dll"in my VC++ file. Do I need to use DllImport here ?
Thanks,
Saania
Replies
Know the answer? Post it — somebody with the same question will find it here.