473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Cab file compression

Hi

Is there a way that I could use the .net framework to extract from and
compress using the legacy cab compression system (without having to buy 3rd
party licenses)? My company uses this type of compression to support older
windows PCs (pre-.net) as we can be sure that the OS is always able to
handle the compression.

Thanks
Oct 29 '07 #1
4 1821
Did you search? It only took me about 30 seconds:
http://www.devsource.com/article2/0,1895,1993194,00.asp

-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"GeoffreyD" wrote:
Hi

Is there a way that I could use the .net framework to extract from and
compress using the legacy cab compression system (without having to buy 3rd
party licenses)? My company uses this type of compression to support older
windows PCs (pre-.net) as we can be sure that the OS is always able to
handle the compression.

Thanks
Oct 29 '07 #2
Hey :) this task is not so simple as meets the eye (or perhaps I should have
been a little clearer that I was looking for a purely .net solution - no
unmanged code interop). We already have a standard c++ (unmanaged)
implementation for this and are not really wanting a more complex solution
(although granted in this case the interop work is kind of done already).
This doesn't really help in an environment where we are trying to convince
other developers to make the switch over to .net ;)

So, any purely .net solutions out there for cab compression?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.comwrote
in message news:3E**********************************@microsof t.com...
Did you search? It only took me about 30 seconds:
http://www.devsource.com/article2/0,1895,1993194,00.asp

-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"GeoffreyD" wrote:
>Hi

Is there a way that I could use the .net framework to extract from and
compress using the legacy cab compression system (without having to buy
3rd
party licenses)? My company uses this type of compression to support
older
windows PCs (pre-.net) as we can be sure that the OS is always able to
handle the compression.

Thanks

Oct 29 '07 #3
Well,
there is an awful lot of unmanaged code interop in the .NET Framework, so
you should not let this scare you. I have never heard of a 100% managed code
implementation of the CAB file API.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"GeoffreyD" wrote:
Hey :) this task is not so simple as meets the eye (or perhaps I should have
been a little clearer that I was looking for a purely .net solution - no
unmanged code interop). We already have a standard c++ (unmanaged)
implementation for this and are not really wanting a more complex solution
(although granted in this case the interop work is kind of done already).
This doesn't really help in an environment where we are trying to convince
other developers to make the switch over to .net ;)

So, any purely .net solutions out there for cab compression?

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yohohhoandabottleofrum.comwrote
in message news:3E**********************************@microsof t.com...
Did you search? It only took me about 30 seconds:
http://www.devsource.com/article2/0,1895,1993194,00.asp

-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"GeoffreyD" wrote:
Hi

Is there a way that I could use the .net framework to extract from and
compress using the legacy cab compression system (without having to buy
3rd
party licenses)? My company uses this type of compression to support
older
windows PCs (pre-.net) as we can be sure that the OS is always able to
handle the compression.

Thanks


Oct 29 '07 #4
Hi GeoffreyD,

As Peter said, there's no pure .NET implementation of CAB library.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 30 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dennis Hotson | last post by:
Hi, I'm trying to write a function that adds a file-like-object to a compressed tarfile... eg ".tar.gz" or ".tar.bz2" I've had a look at the tarfile module but the append mode doesn't support...
22
by: petermichaux | last post by:
Hi, I'm curious about server load and download time if I use one big javascript file or break it into several smaller ones. Which is better? (Please think of this as the first time the scripts...
52
by: paytam | last post by:
Hi all Can anyone tell me how can I check that a file exist or no.I mean when you use this commands FILE *fp; if(!fp) //Could not open the file doen't show why it can not open it,may be the...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
3
by: Sean Davis | last post by:
I have a set of numpy arrays which I would like to save to a gzip file. Here is an example without gzip: b=numpy.ones(1000000,dtype=numpy.uint8) a=numpy.zeros(1000000,dtype=numpy.uint8) fd =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.