Using DotnetZip with Visual Studio C ++ / CLR

I tried using DotNetZip with C ++ / CLR. But I found that every downloaded file does not contain a .h file, in the code example there is "using the namespace Ionic :: Zip;"
How can I make this work in my code?

+4
source share
2 answers

You need to add a link to the DotnetZip DLL. After adding the reference to the DLL, the compiler will process the metadata in the DLL and provide you with types and methods in the same way as when processing the header file. Follow these steps to add a link.

  • Right-click on a project in Solution Explorer and select Links.
  • " "
  • "" DotnetZip DLL
+5

, Visual Studio GUI - #using #using CPP Ionix.zip.

:

#using <Ionic.Zip.dll>

using namespace Ionic::Zip;

using namespace , #using , Ionix.Zip. using namespace, Project, JaredPar.

0

Source: https://habr.com/ru/post/1789415/


All Articles