Cab files compress more?

  • Thread starter Thread starter Crirus
  • Start date Start date
C

Crirus

I have a assambly dll that I want to use it over internet on a html
There is any size reason to use a cab file, instead simply the dll?

If yes, how can I pack in a cab file my dll?

Thanks,
Crirus
 
Hi Crirus,

Nobody's answered yet! I only had half an answer so I waited.

If you zip your exe and dll files, you'll find 50-80% reduction depending
on what's in them (embedded graphics will spoil the compression ratio.) I
would expect cab files to realise similar savings.

That's the bit I had, the <how-to> is another thing altogether. I did a
Google but sorting out the good stuff was too much.

Do you specifically want cab compression or would zipping be an option?

Regards,
Fergus
 
I need to run that dll, the only file I have, from a client browser, using
<OBJECT> so the cab is the only way, or leaving the dll as it is...
Zipping the dll was a 100 k reduction from 820 k to 716 k.
Not much!
 
Hi Crirus,

I was zipping debug dlls!! No wonder they squashed up so much. Yours is a
release version so, yes - Not much! :-(

I'm working on your other query but as it's time for bed soon, I can't
promise anything just yet.

Regards,
Fergus
 
Hi Fergus,
About hte other issue...have some good experience on threading model for
servers?
I'm wondering if is ok the MS's sample to handle asynchron connections, by
letting the sockets to create thereads for every request.
One told me that the better way is to have some thread alive and sleeping
until have a request in queue and limit the queue entrys to a small number.

Thanks,
Crirus
 
Hi Crirus,

I'm afraid that's outside my area. The best thing would be to post it back
to the group as a new topic.

Regards,
Fergus
 
Back
Top