Click here to Skip to main content
15,915,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Process command line Pin
valikac12-Sep-03 6:09
valikac12-Sep-03 6:09 
GeneralAnother problem with memory Pin
abhi197111-Sep-03 22:44
abhi197111-Sep-03 22:44 
GeneralRe: Another problem with memory Pin
Mike Dimmick12-Sep-03 2:40
Mike Dimmick12-Sep-03 2:40 
GeneralRe: Another problem with memory Pin
David Crow12-Sep-03 2:44
David Crow12-Sep-03 2:44 
GeneralRun a function every 100ms Pin
kurnaziso11-Sep-03 22:41
kurnaziso11-Sep-03 22:41 
GeneralRe: Run a function every 100ms Pin
Dangleberry11-Sep-03 22:58
sussDangleberry11-Sep-03 22:58 
Generalplacement new Pin
Dangleberry11-Sep-03 22:26
sussDangleberry11-Sep-03 22:26 
GeneralRe: placement new Pin
Dangleberry11-Sep-03 23:55
sussDangleberry11-Sep-03 23:55 
OK, just managed to find out that when you use new(m_pItem) T[alloc] - the array form of placement new, it may, depending on the object, add some extra overhead to the allocation. Urrrggghhh. Apparently its safer to just loop through the number of objects and use the non-array placement of new - new(m_pItem) T;, which doesn't add any overhead, and everything is hunky dory. What a crock of sh*t. Now all I need to do is figure out how to destroy objects without making a fuss or memory leak Smile | :) .

Alan.
GeneralC++ editor Pin
Jerome Conus11-Sep-03 22:06
Jerome Conus11-Sep-03 22:06 
GeneralRe: C++ editor Pin
berndg12-Sep-03 0:19
berndg12-Sep-03 0:19 
GeneralRe: C++ editor Pin
Neville Franks12-Sep-03 0:26
Neville Franks12-Sep-03 0:26 
GeneralRe: C++ editor Pin
typist12-Sep-03 1:22
typist12-Sep-03 1:22 
GeneralRe: C++ editor Pin
Dangleberry12-Sep-03 1:46
sussDangleberry12-Sep-03 1:46 
GeneralPainting problem in CFormView with overlapping ActiveX Pin
sanskypotov11-Sep-03 21:47
sanskypotov11-Sep-03 21:47 
GeneralRead backwarts from file Pin
Eddie70011-Sep-03 20:29
Eddie70011-Sep-03 20:29 
GeneralRe: Read backwarts from file Pin
Neville Franks12-Sep-03 0:32
Neville Franks12-Sep-03 0:32 
GeneralRe: Read backwarts from file Pin
Dangleberry12-Sep-03 1:49
sussDangleberry12-Sep-03 1:49 
GeneralRe: Read backwarts from file Pin
Mike Dimmick12-Sep-03 2:56
Mike Dimmick12-Sep-03 2:56 
GeneralRe: Read backwarts from file Pin
Eddie70015-Sep-03 1:23
Eddie70015-Sep-03 1:23 
GeneralCListCtrl + InsertColumn Pin
KKR11-Sep-03 19:44
KKR11-Sep-03 19:44 
GeneralRe: CListCtrl + InsertColumn Pin
Jagadeesh VN11-Sep-03 20:21
Jagadeesh VN11-Sep-03 20:21 
GeneralRe: CListCtrl + InsertColumn Pin
KKR11-Sep-03 21:51
KKR11-Sep-03 21:51 
GeneralLayering bitmaps Pin
smjones11-Sep-03 18:38
smjones11-Sep-03 18:38 
GeneralRe: Layering bitmaps Pin
Jagadeesh VN11-Sep-03 20:28
Jagadeesh VN11-Sep-03 20:28 
GeneralRe: Layering bitmaps Pin
smjones14-Sep-03 15:03
smjones14-Sep-03 15:03 

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.