Click here to Skip to main content
15,922,155 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Controlling the MediaPlayer ocx control Pin
bryces22-Oct-03 20:30
bryces22-Oct-03 20:30 
GeneralRe: Controlling the MediaPlayer ocx control Pin
Michael Dunn22-Oct-03 12:48
sitebuilderMichael Dunn22-Oct-03 12:48 
GeneralRe: Controlling the MediaPlayer ocx control Pin
bryces22-Oct-03 17:16
bryces22-Oct-03 17:16 
GeneralRe: Controlling the MediaPlayer ocx control Pin
Michael Dunn22-Oct-03 20:29
sitebuilderMichael Dunn22-Oct-03 20:29 
GeneralRe: Controlling the MediaPlayer ocx control Pin
rbeckett16-Nov-03 14:40
rbeckett16-Nov-03 14:40 
GeneralCollections and containers. Pin
WREY20-Oct-03 5:30
WREY20-Oct-03 5:30 
GeneralRe: Collections and containers. Pin
ZoogieZork20-Oct-03 5:44
ZoogieZork20-Oct-03 5:44 
GeneralRe: Collections and containers. Pin
WREY20-Oct-03 6:07
WREY20-Oct-03 6:07 
Thanks for replying.

When is the destructor for the container called? Is it an automatic thing, or would you have to purposely call it (other than when it's done automatically for you upon exiting the program)?

If the elements are on the heap, then by doing an "erase()" you would purposely be deleting the elements (etc.), but if no such function were used, then the container and its elements should persist.

Both the vector and the map containers are defined in the same class, and instantiated in the same function. However, they were populated in different functions, but when they met back up together, the "size()" of the map showed zero (even though the class object in which they reside was still alive and no "erase()" function was used).

Confused | :confused:

William

Fortes in fide et opere!
GeneralRe: Collections and containers. Pin
ZoogieZork20-Oct-03 7:01
ZoogieZork20-Oct-03 7:01 
GeneralRe: Collections and containers. Pin
WREY20-Oct-03 7:52
WREY20-Oct-03 7:52 
General"-Embedding" in the SCM - Atl Servers/Services Pin
IanF20-Oct-03 3:48
IanF20-Oct-03 3:48 
GeneralContainer & Dll Pin
Bernhard20-Oct-03 3:13
Bernhard20-Oct-03 3:13 
GeneralRe: Container & Dll Pin
geo_m21-Oct-03 1:50
geo_m21-Oct-03 1:50 
GeneralRe: Container & Dll Pin
Bernhard21-Oct-03 19:16
Bernhard21-Oct-03 19:16 
GeneralCAccessor question Pin
Paul Silvernail20-Oct-03 0:31
Paul Silvernail20-Oct-03 0:31 
GeneralAny questions Pin
El'Cachubrey19-Oct-03 23:14
El'Cachubrey19-Oct-03 23:14 
Generalinserting ActiveX control with WTL... (VS.NET2003) Pin
tlpr16-Oct-03 21:58
tlpr16-Oct-03 21:58 
GeneralRe: inserting ActiveX control with WTL... (VS.NET2003) Pin
rlodina30-Oct-03 3:06
rlodina30-Oct-03 3:06 
QuestionWhere have my connection point fired events gone? Pin
Colin F16-Oct-03 1:01
sussColin F16-Oct-03 1:01 
AnswerRe: Where have my connection point fired events gone? Pin
Michael P Butler19-Oct-03 23:29
Michael P Butler19-Oct-03 23:29 
GeneralRe: Where have my connection point fired events gone? Pin
Colin Foster20-Oct-03 23:16
Colin Foster20-Oct-03 23:16 
GeneralStatusbars in dialog based application Pin
tareqsiraj15-Oct-03 18:16
tareqsiraj15-Oct-03 18:16 
GeneralRe: Statusbars in dialog based application Pin
tareqsiraj17-Oct-03 2:56
tareqsiraj17-Oct-03 2:56 
GeneralRe: Statusbars in dialog based application Pin
rbeckett16-Nov-03 14:56
rbeckett16-Nov-03 14:56 
GeneralDirectory only dialog box Pin
Leo Smith15-Oct-03 16:32
Leo Smith15-Oct-03 16:32 

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.