Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Fighting the optimizer Pin
Chris Losinger30-Apr-02 13:32
professionalChris Losinger30-Apr-02 13:32 
GeneralRe: Fighting the optimizer Pin
Mike Nordell1-May-02 8:38
Mike Nordell1-May-02 8:38 
GeneralRe: Fighting the optimizer Pin
Giles1-May-02 9:20
Giles1-May-02 9:20 
GeneralRe: Fighting the optimizer Pin
Chris Losinger1-May-02 9:45
professionalChris Losinger1-May-02 9:45 
QuestionIs there a RAR compression library around? Pin
Li-kai Liu (Angus)30-Apr-02 10:44
Li-kai Liu (Angus)30-Apr-02 10:44 
AnswerRe: Is there a RAR compression library around? Pin
Mike Nordell1-May-02 8:41
Mike Nordell1-May-02 8:41 
GeneralEquivalent of VB's "Preserve" keyword Pin
Anton A. Loukine30-Apr-02 9:52
Anton A. Loukine30-Apr-02 9:52 
GeneralRe: Equivalent of VB's "Preserve" keyword Pin
Paul M Watt30-Apr-02 9:58
mentorPaul M Watt30-Apr-02 9:58 
No there is not.

The best you can do is to allocate a new buffer, and copy all of the data from the first buffer into the second buffer. Delete the memory from the first buffer, then assign the pointer from the second buffer back to the first.

By the way, the VB method is just more convenient, not more effifient, underneath all of this work is done by VB as well, you just do not have to deal with it.

Good Luck!


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Equivalent of VB's "Preserve" keyword Pin
Chris Losinger30-Apr-02 10:04
professionalChris Losinger30-Apr-02 10:04 
QuestionWhy doesen't my window show when using CreateDialog()? Pin
30-Apr-02 8:37
suss30-Apr-02 8:37 
AnswerRe: Why doesen't my window show when using CreateDialog()? Pin
lucy30-Apr-02 8:43
lucy30-Apr-02 8:43 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
30-Apr-02 8:51
suss30-Apr-02 8:51 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
Ravi Bhavnani30-Apr-02 9:02
professionalRavi Bhavnani30-Apr-02 9:02 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
30-Apr-02 9:11
suss30-Apr-02 9:11 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
Ravi Bhavnani30-Apr-02 9:22
professionalRavi Bhavnani30-Apr-02 9:22 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
30-Apr-02 9:34
suss30-Apr-02 9:34 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
Chris Losinger30-Apr-02 10:47
professionalChris Losinger30-Apr-02 10:47 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
Philippe Mori30-Apr-02 12:51
Philippe Mori30-Apr-02 12:51 
GeneralRe: Why doesen't my window show when using CreateDialog()? Pin
1-May-02 2:20
suss1-May-02 2:20 
GeneralClass Destruct Pin
Peter Liddle30-Apr-02 8:18
Peter Liddle30-Apr-02 8:18 
GeneralRe: Class Destruct Pin
Chris Losinger30-Apr-02 8:28
professionalChris Losinger30-Apr-02 8:28 
GeneralRe: Class Destruct Pin
Ravi Bhavnani30-Apr-02 8:42
professionalRavi Bhavnani30-Apr-02 8:42 
GeneralRe: Class Destruct Pin
Mike Nordell1-May-02 8:44
Mike Nordell1-May-02 8:44 
GeneralRefresh ListBox Pin
Anton A. Loukine30-Apr-02 8:13
Anton A. Loukine30-Apr-02 8:13 
GeneralRe: Refresh ListBox Pin
Tom Archer30-Apr-02 8:33
Tom Archer30-Apr-02 8:33 

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.