I want to use Html Agility Pack which is in a .NET code library. Anyone knows how to import/reference the dll file into my vc++ MFC project?
I tried right clicking on my project, choose “References…”, then I click the “Add new Reference” button, and I get an empty dialog box with a single tab “Projects” which contains an empty list.
You can’t call .Net code directly from unmanaged native code. You have several options if you want to do this indirectly though:
You need to provide more context if you want a recommendation on which approach might suit your circumstances best