2
Reply

How can i refer a C# dll in MFC dll

Hurkadli palaksha

Hurkadli palaksha

Sep 23 2010 5:00 AM
4.7k

Hi,
     For one of the MFC dll application(which creates acrobat plug-in) i want to add a reference to a C# dll.  I created the MFC dll application(with /clr option to refer managed C# object), it complied and executed fine before adding  C# class reference, once i added that C# dll and tried to get a object reference instance(using gcnew), it is not getting it but application raising an exception saying "File not found" error for that C# dll.
Can't we add reference to C# dll in an MFC dll application?  if we can how to do, what's mistake i am doing? 
Any help would be highly appreciated.
palaksha
 
 
 
 
 

Answers (2)