Click here to Skip to main content
15,919,178 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Subclassed Listview not sending any notifications... Pin
João Paulo Figueira15-Jun-03 5:11
professionalJoão Paulo Figueira15-Jun-03 5:11 
QuestionActiveX Excel? Pin
Mardigin12-Jun-03 6:09
Mardigin12-Jun-03 6:09 
AnswerRe: ActiveX Excel? Pin
Michael P Butler15-Jun-03 3:49
Michael P Butler15-Jun-03 3:49 
GeneralRe: ActiveX Excel? Pin
Mardigin15-Jun-03 9:41
Mardigin15-Jun-03 9:41 
GeneralDeleting items from a deque Pin
Steve Thresher11-Jun-03 23:09
Steve Thresher11-Jun-03 23:09 
GeneralRe: Deleting items from a deque Pin
Andrew Walker11-Jun-03 23:55
Andrew Walker11-Jun-03 23:55 
GeneralRe: Deleting items from a deque Pin
Steve Thresher12-Jun-03 0:24
Steve Thresher12-Jun-03 0:24 
GeneralRe: Deleting items from a deque Pin
Neville Franks13-Jun-03 12:44
Neville Franks13-Jun-03 12:44 
I'm surprised that the memory for the item isn't being deleted in the pop_back(). You've you stepped into the pop_back() code in the debugger to verify this, or looked at the source?

Even if it is though, I don't think it would help in your example. ie. Whether they are deleted in your pop_back() loop or by the delete pDeque would have the same affect.

I think the problem here is the sheer size of the container and the fact that you are doing 100,000 new/delete (malloc/free). There are several fast malloc/free implementations which would help or maybe you shouldn't be using a deque for this.

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
GeneralAlignment property on ATL control Pin
john.angel11-Jun-03 6:20
john.angel11-Jun-03 6:20 
GeneralClassView information Pin
qur11-Jun-03 2:59
qur11-Jun-03 2:59 
GeneralATL: Deriving from IFont Pin
BadJerry11-Jun-03 0:47
BadJerry11-Jun-03 0:47 
GeneralHaving problem in hosting Mappoint control from ATL ActiveX control Pin
AishuM10-Jun-03 13:27
AishuM10-Jun-03 13:27 
Generalvector remove problem Pin
aguest10-Jun-03 9:29
aguest10-Jun-03 9:29 
GeneralRe: vector remove problem Pin
Ryan_Roberts10-Jun-03 9:42
Ryan_Roberts10-Jun-03 9:42 
GeneralRe: vector remove problem Pin
ZoogieZork10-Jun-03 10:48
ZoogieZork10-Jun-03 10:48 
GeneralRe: vector remove problem Pin
aguest10-Jun-03 11:22
aguest10-Jun-03 11:22 
GeneralRe: vector remove problem Pin
ZoogieZork10-Jun-03 13:40
ZoogieZork10-Jun-03 13:40 
GeneralBuild Error "Performing registration" Pin
clayne10-Jun-03 8:32
clayne10-Jun-03 8:32 
GeneralRe: Build Error "Performing registration" Pin
geo_m10-Jun-03 19:39
geo_m10-Jun-03 19:39 
GeneralSome advice on using deque please Pin
Steve Thresher10-Jun-03 8:17
Steve Thresher10-Jun-03 8:17 
GeneralRe: Some advice on using deque please Pin
Joaquín M López Muñoz10-Jun-03 8:46
Joaquín M López Muñoz10-Jun-03 8:46 
GeneralHows this for ugly! Pin
Steve Thresher10-Jun-03 9:47
Steve Thresher10-Jun-03 9:47 
GeneralRe: Hows this for ugly! Pin
Michael Dunn10-Jun-03 13:49
sitebuilderMichael Dunn10-Jun-03 13:49 
GeneralRe: Hows this for ugly! Pin
Steve Thresher11-Jun-03 21:45
Steve Thresher11-Jun-03 21:45 
GeneralOdd linker errors Pin
Tommy2k9-Jun-03 3:52
Tommy2k9-Jun-03 3:52 

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.