Once you have enabled the switch Ayman mentioned (see your help if you don't know how), go to Project Add reference, then browse to your .net dll and press OK. Now you can use the namespace, classes, structures and enums of the .NET dll.
yes, call a .Net dll in c++. but i'm still not clear about your explaination..I'm writing my program in c++ and what do you mean convert my program into c++/CLI application
how to Call .NET dll in C ?
MgManoj
CurtVas
You can use the /CLR switch to generate managed code for your C++ application.
Thanks, Ayman Shoukry VC++ TeamHolden
Don't you mean call a .NET dll in C++ In this case, convert your program into a C++/CLI application. Then you'll be able to use the .NET dll.
W.Yuan