Click here to Skip to main content
15,904,934 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Subclassed Listview not sending any notifications... Pin
Tommy2k15-Jun-03 0:52
Tommy2k15-Jun-03 0:52 
GeneralRe: Subclassed Listview not sending any notifications... Pin
João Paulo Figueira15-Jun-03 1:19
professionalJoão Paulo Figueira15-Jun-03 1:19 
GeneralRe: Subclassed Listview not sending any notifications... Pin
Tommy2k15-Jun-03 2:23
Tommy2k15-Jun-03 2:23 
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 
Is it possible to release the memory allocated for an item in a deque when you remove an item from a deque using either pop_back() or erase(). I'm trying to avoid the large delay when deleting the deque object.


typedef struct
{
    BYTE b;
    WORD w;
    DWORD d;
}S;

void func(void)
{
    deque<S> *pDeque=new deque<S>;

    S s={1,2,3};

    for (int i=0;i < 100000;i++)
    {
        s.d=i;
        pDeque->push_back(s)
    }

    while (pDeque->size())
        pDeque->pop_back();

    delete pDeque;  // Delay occurs here
}



Systems AXIS Ltd - Software for Business ...
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 
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 &quot;Performing registration&quot; Pin
clayne10-Jun-03 8:32
clayne10-Jun-03 8:32 
GeneralRe: Build Error &quot;Performing registration&quot; 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 

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.