EDN Admin
Well-known member
I am trying to use a C++ dll in my C# application but unsuccessul. Here is what I have done:
1. The C++ code was developed using open BSD.
2. I made a C++ CLR dll using visual studio 2005 - "tc.dll"
3. In my C# application, I add the "tc.dll" as a reference from the solution explorer
4. I tried to instantiate the class of tc.dll using
myClass mc = new myClass();
The C# program can not find the class at all.
I assumed that since it is built as a assembly dll, all the class and their member functions in there should be visible if referenced.
I am very new to C# and .Net, and not sure if what I am doing is indeed in the right direction. Please help.
Thanks a lot,
-Sue
View the full article
1. The C++ code was developed using open BSD.
2. I made a C++ CLR dll using visual studio 2005 - "tc.dll"
3. In my C# application, I add the "tc.dll" as a reference from the solution explorer
4. I tried to instantiate the class of tc.dll using
myClass mc = new myClass();
The C# program can not find the class at all.
I assumed that since it is built as a assembly dll, all the class and their member functions in there should be visible if referenced.
I am very new to C# and .Net, and not sure if what I am doing is indeed in the right direction. Please help.
Thanks a lot,
-Sue
View the full article