Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldynamic button ... Pin
AlinRO6-Aug-02 13:17
AlinRO6-Aug-02 13:17 
GeneralRe: dynamic button ... Pin
Hydralisk6-Aug-02 14:59
Hydralisk6-Aug-02 14:59 
GeneralControl Redraw broken Pin
CaesarCZ6-Aug-02 13:05
CaesarCZ6-Aug-02 13:05 
GeneralVS 6 & XP Home & NTDLL.DLL Pin
Eldon Zacek6-Aug-02 12:20
Eldon Zacek6-Aug-02 12:20 
GeneralRe: VS 6 & XP Home & NTDLL.DLL Pin
Wolfram Steinke6-Aug-02 18:22
Wolfram Steinke6-Aug-02 18:22 
GeneralRich Text Edit Boxes Pin
Ken Mazaika6-Aug-02 12:05
Ken Mazaika6-Aug-02 12:05 
GeneralRe: Rich Text Edit Boxes Pin
Ken Mazaika6-Aug-02 12:29
Ken Mazaika6-Aug-02 12:29 
Questionhow to preallocate memory? Pin
francg6-Aug-02 11:46
francg6-Aug-02 11:46 
hi all and please help,
my program have alot of "new", to initialyze my classes and member variables, and "delete" to close the app. But i found my app to be verry slow. Now a test app proved me that 5000000 "new double" takes alot of time to allocateSleepy | :zzz: , while a big "new double[5000000]" takes no time at allWTF | :WTF: .

My question is, what is the "good" way to workout a kind of "new BYTE[5000000]" and easely manage that memory, for double, classes... normal allocations?Unsure | :~

I think this means, big mem allocation will cause fragments and mucho "sizeof". Am i just on the wrong trackConfused | :confused:
Some Links to tutorial on mem allocation is wellcome

thanks to all
AnswerRe: how to preallocate memory? Pin
Tomasz Sowinski6-Aug-02 12:02
Tomasz Sowinski6-Aug-02 12:02 
AnswerRe: how to preallocate memory? Pin
alex.barylski6-Aug-02 14:54
alex.barylski6-Aug-02 14:54 
AnswerRe: how to preallocate memory? Pin
Daniel Lohmann7-Aug-02 1:21
Daniel Lohmann7-Aug-02 1:21 
QuestionHow to use CTreeCtrl::SetCheck correctly? Pin
Pachoo6-Aug-02 11:27
Pachoo6-Aug-02 11:27 
AnswerRe: How to use CTreeCtrl::SetCheck correctly? Pin
Tomasz Sowinski6-Aug-02 11:38
Tomasz Sowinski6-Aug-02 11:38 
GeneralHandle Right Click on Static Label in Dialog Pin
Aaron Schaefer6-Aug-02 10:53
Aaron Schaefer6-Aug-02 10:53 
GeneralRe: Handle Right Click on Static Label in Dialog Pin
jmkhael6-Aug-02 11:19
jmkhael6-Aug-02 11:19 
GeneralRe: Handle Right Click on Static Label in Dialog Pin
Jeremy Falcon6-Aug-02 11:20
professionalJeremy Falcon6-Aug-02 11:20 
GeneralRe: Handle Right Click on Static Label in Dialog Pin
PJ Arends6-Aug-02 16:01
professionalPJ Arends6-Aug-02 16:01 
Questionhow to get child hwnd and child object Pin
imran_rafique6-Aug-02 9:54
imran_rafique6-Aug-02 9:54 
AnswerRe: how to get child hwnd and child object Pin
Roman Nurik6-Aug-02 12:01
Roman Nurik6-Aug-02 12:01 
AnswerRe: how to get child hwnd and child object Pin
Iain Clarke, Warrior Programmer6-Aug-02 22:54
Iain Clarke, Warrior Programmer6-Aug-02 22:54 
GeneralPainting issues - Dialog controls & OCX together Pin
Gerjerts6-Aug-02 9:30
Gerjerts6-Aug-02 9:30 
GeneralInsert Into crashes, AddNew doesnt add Pin
ns6-Aug-02 9:18
ns6-Aug-02 9:18 
GeneralRe: Insert Into crashes, AddNew doesnt add Pin
Le centriste6-Aug-02 15:47
Le centriste6-Aug-02 15:47 
GeneralRe: Insert Into crashes, AddNew doesnt add Pin
ns7-Aug-02 1:14
ns7-Aug-02 1:14 
GeneralNon-Wizard CEdit Control messages Pin
JennyP6-Aug-02 9:16
JennyP6-Aug-02 9:16 

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.