Click here to Skip to main content
15,910,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: In VC + DirectX8.0 SdK The VC's ability's "auto parameter info" disabled, Why ?? Pin
code_cold17-Dec-02 19:41
code_cold17-Dec-02 19:41 
Questioncan i know how to declare a identifier!!!!!Thanks Pin
dianazheng17-Dec-02 17:08
dianazheng17-Dec-02 17:08 
AnswerRe: can i know how to declare a identifier!!!!!Thanks Pin
karl_w18-Dec-02 0:56
karl_w18-Dec-02 0:56 
Questionhow to get mac address Pin
Mahesh Varma17-Dec-02 16:53
Mahesh Varma17-Dec-02 16:53 
AnswerRe: how to get mac address Pin
Ravi Bhavnani18-Dec-02 10:55
professionalRavi Bhavnani18-Dec-02 10:55 
GeneralWrapping MessageBox Text Pin
Jonah Bishop17-Dec-02 14:17
Jonah Bishop17-Dec-02 14:17 
GeneralRe: Wrapping MessageBox Text Pin
Nish Nishant17-Dec-02 14:45
sitebuilderNish Nishant17-Dec-02 14:45 
GeneralCompression/Decompression of Byteblocks Pin
Hendrik Wiese17-Dec-02 12:43
Hendrik Wiese17-Dec-02 12:43 
Hello,

I got the following question: I got a character array called oldblock which is going to be transfered via tcp socket to a linux machine. This works great so far. A file is read blockwise and transfered as well. So for performance purposes, before the block is sent to the socket I want it to be compressed via zip or any other useable compression algo and to be decompressed on the other side of the socket pipe. Hope you understand...Excuse my bad english, I'm from germany... A function looking like this would be great:

newblocksize = compress( char* oldblock, char* newblock, int oldblocksize);

where oldblock points to the uncompressed character array of size oldblocksize and newblock is a pointer to a character array of size newblocksize where the compressed data is stored. And on the other side a similar function turning around that process... decompressing instead of compressing, ya understand?!

Where can I find something like that for C++ platform independent?

ThanX for your answers and have a fine xmas!
GeneralRe: Compression/Decompression of Byteblocks Pin
Larry Antram17-Dec-02 13:09
Larry Antram17-Dec-02 13:09 
GeneralRe: Compression/Decompression of Byteblocks Pin
Scott H. Settlemier17-Dec-02 16:31
Scott H. Settlemier17-Dec-02 16:31 
GeneralCListCtrl and WM_LBUTTONUP Pin
Taka Muraoka17-Dec-02 12:33
Taka Muraoka17-Dec-02 12:33 
GeneralRe: CListCtrl and WM_LBUTTONUP Pin
Chris Richardson17-Dec-02 13:44
Chris Richardson17-Dec-02 13:44 
GeneralRe: CListCtrl and WM_LBUTTONUP Pin
Taka Muraoka17-Dec-02 13:50
Taka Muraoka17-Dec-02 13:50 
GeneralRe: CListCtrl and WM_LBUTTONUP Pin
Chris Richardson17-Dec-02 14:48
Chris Richardson17-Dec-02 14:48 
GeneralRe: CListCtrl and WM_LBUTTONUP Pin
Taka Muraoka17-Dec-02 14:59
Taka Muraoka17-Dec-02 14:59 
GeneralStoopid funcptr question Pin
Klaus Probst17-Dec-02 11:28
Klaus Probst17-Dec-02 11:28 
GeneralRe: Stoopid funcptr question Pin
Taka Muraoka17-Dec-02 11:50
Taka Muraoka17-Dec-02 11:50 
GeneralRe: Stoopid funcptr question Pin
Michael Dunn17-Dec-02 16:01
sitebuilderMichael Dunn17-Dec-02 16:01 
GeneralRe: Stoopid funcptr question Pin
Klaus Probst17-Dec-02 18:08
Klaus Probst17-Dec-02 18:08 
GeneralRe: Stoopid funcptr question Pin
Taka Muraoka17-Dec-02 18:14
Taka Muraoka17-Dec-02 18:14 
GeneralMDI Question.... Pin
Ryan B.17-Dec-02 10:33
Ryan B.17-Dec-02 10:33 
GeneralRe: MDI Question.... Pin
Gary Kirkham17-Dec-02 11:04
Gary Kirkham17-Dec-02 11:04 
GeneralShellExecute Question. (urgent) Pin
RickGavin17-Dec-02 10:12
RickGavin17-Dec-02 10:12 
GeneralRe: ShellExecute Question. (urgent) Pin
Nish Nishant17-Dec-02 14:13
sitebuilderNish Nishant17-Dec-02 14:13 
GeneralRe: ShellExecute Question. (urgent) Pin
Michael Dunn17-Dec-02 16:04
sitebuilderMichael Dunn17-Dec-02 16:04 

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.