Click here to Skip to main content
15,914,327 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Spy++ Pin
ant-damage3-Sep-09 5:32
ant-damage3-Sep-09 5:32 
GeneralRe: Spy++ Pin
EliottA3-Sep-09 5:33
EliottA3-Sep-09 5:33 
GeneralRe: Spy++ Pin
ant-damage3-Sep-09 5:35
ant-damage3-Sep-09 5:35 
AnswerRe: Spy++ Pin
ThatsAlok2-Sep-09 17:34
ThatsAlok2-Sep-09 17:34 
QuestionDeflateStream & GZipStream Pin
ant-damage2-Sep-09 1:51
ant-damage2-Sep-09 1:51 
AnswerRe: DeflateStream & GZipStream Pin
Randor 2-Sep-09 10:24
professional Randor 2-Sep-09 10:24 
GeneralRe: DeflateStream & GZipStream Pin
ant-damage3-Sep-09 4:13
ant-damage3-Sep-09 4:13 
GeneralRe: DeflateStream & GZipStream Pin
Randor 3-Sep-09 10:49
professional Randor 3-Sep-09 10:49 
ant-damage wrote:
after compressing all bytes of it with DeflateStream I've got 1MB of data.


Did you mean compressing with GZipStream? Because... DeflateStream does not do compression.

ant-damage wrote:
I searched around the web and I found out that it's possible that the DeflateStream algorythm has a bug, and generates too much data compared with the original file data.


The GZipStream class does not check for incompressible data. Yes it is possible to create more data.. this is the nature of the algorithm. I guess it would be better if the GZipStream class detected that it would be unable to compress the data. Classifying it as a bug is debatable.

I agree with you that the GZipStream class should be smart and detect this situation.

Best Wishes,
-David Delaune
GeneralRe: DeflateStream & GZipStream Pin
harold aptroot3-Sep-09 15:35
harold aptroot3-Sep-09 15:35 
GeneralRe: DeflateStream & GZipStream Pin
harold aptroot3-Sep-09 15:41
harold aptroot3-Sep-09 15:41 
QuestionModeless Form display Pin
jimi772-Sep-09 0:31
jimi772-Sep-09 0:31 
AnswerRe: Modeless Form display Pin
Luc Pattyn2-Sep-09 0:48
sitebuilderLuc Pattyn2-Sep-09 0:48 
GeneralRe: Modeless Form display Pin
jimi772-Sep-09 0:59
jimi772-Sep-09 0:59 
GeneralRe: Modeless Form display Pin
Luc Pattyn2-Sep-09 1:24
sitebuilderLuc Pattyn2-Sep-09 1:24 
QuestionHello question about visual studio 2008, that wont even build a empty dll project correctly Pin
nah133731-Aug-09 19:07
nah133731-Aug-09 19:07 
Questioncpp unit testing Pin
rnsk_for_u31-Aug-09 19:06
rnsk_for_u31-Aug-09 19:06 
AnswerRe: cpp unit testing Pin
Tony Duarte2-Sep-09 16:57
Tony Duarte2-Sep-09 16:57 
AnswerRe: cpp unit testing Pin
Richard MacCutchan10-Sep-09 9:27
mveRichard MacCutchan10-Sep-09 9:27 
QuestionSplitting 2 MB of datas.... Pin
spalanivel28-Aug-09 1:20
spalanivel28-Aug-09 1:20 
QuestionRe: Splitting 2 MB of datas.... Pin
Mark Salsbery28-Aug-09 7:20
Mark Salsbery28-Aug-09 7:20 
AnswerRe: Splitting 2 MB of datas.... Pin
Luc Pattyn28-Aug-09 7:43
sitebuilderLuc Pattyn28-Aug-09 7:43 
QuestionWaterfall image display Pin
su_marvel26-Aug-09 23:00
su_marvel26-Aug-09 23:00 
QuestionCppUnit Test Case Pin
rnsk_for_u25-Aug-09 21:47
rnsk_for_u25-Aug-09 21:47 
AnswerRe: CppUnit Test Case Pin
N a v a n e e t h26-Aug-09 16:53
N a v a n e e t h26-Aug-09 16:53 
QuestionGraphics Object on indexed Bitmap Pin
cherrymotion25-Aug-09 5:50
cherrymotion25-Aug-09 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.