Creating CAB files with C#

  • Thread starter Thread starter Drago
  • Start date Start date
D

Drago

Hi,
Does anyone have sample source ot tell me what I should do to be able to
compress and decompress files using the CAB format?

Thanks!

Drago
 
Hi,

1) Search MSDN on CAB API - it should have examples in C or C++, this
language has many similarities with C# so you shouldn't have any problems
understanding the examples
2) Declare required API functions in your C# code with DllImportAttribute
3) Make calls to the API through P/Invoke
 
Back
Top