Click here to Skip to main content
15,915,703 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: QueryInterface Pin
Tim Smith23-Dec-02 8:20
Tim Smith23-Dec-02 8:20 
GeneralConfuse about AddRef / Release. Pin
qur23-Dec-02 8:10
qur23-Dec-02 8:10 
GeneralRe: Confuse about AddRef / Release. Pin
Michael Dunn23-Dec-02 20:11
sitebuilderMichael Dunn23-Dec-02 20:11 
GeneralRe: Confuse about AddRef / Release. Pin
qur23-Dec-02 20:52
qur23-Dec-02 20:52 
GeneralRe: Confuse about AddRef / Release. Pin
Nick Parker25-Dec-02 17:18
protectorNick Parker25-Dec-02 17:18 
GeneralRe: Confuse about AddRef / Release. Pin
pba_26-Dec-02 4:31
pba_26-Dec-02 4:31 
GeneralRe: Confuse about AddRef / Release. Pin
qur26-Dec-02 6:41
qur26-Dec-02 6:41 
GeneralRe: Confuse about AddRef / Release. Pin
pba_26-Dec-02 10:12
pba_26-Dec-02 10:12 
If you choose "yes" for aggregation then your class can run either standalone or aggregated, so you can use both CComObject or CComAggObject ( depending on your needs). And yes , you will have to take care of the object lifetime, addref-ing and releasing properly any object created by CComObject. However, if you just want to create and use an object inside a function you can use CComObjectStack - it doesn't perform reference counting.
GeneralInsert into map without lookup Pin
peterchen23-Dec-02 4:47
peterchen23-Dec-02 4:47 
GeneralRe: Insert into map without lookup Pin
valikac23-Dec-02 5:04
valikac23-Dec-02 5:04 
GeneralRe: Insert into map without lookup Pin
Stuart Dootson23-Dec-02 21:51
professionalStuart Dootson23-Dec-02 21:51 
GeneralRe: Insert into map without lookup Pin
peterchen24-Dec-02 12:12
peterchen24-Dec-02 12:12 
GeneralRe: Insert into map without lookup Pin
Jörgen Sigvardsson24-Dec-02 12:27
Jörgen Sigvardsson24-Dec-02 12:27 
GeneralRe: Insert into map without lookup Pin
Joaquín M López Muñoz26-Dec-02 21:00
Joaquín M López Muñoz26-Dec-02 21:00 
GeneralNeed help using object in ATL ActiveX EXE window services server. Pin
bahruddina22-Dec-02 17:48
bahruddina22-Dec-02 17:48 
GeneralSearch (Compare) Functor and std::pair :: STL Pin
valikac21-Dec-02 16:54
valikac21-Dec-02 16:54 
GeneralRe: Search (Compare) Functor and std::pair :: STL Pin
Joaquín M López Muñoz22-Dec-02 20:04
Joaquín M López Muñoz22-Dec-02 20:04 
GeneralRe: Search (Compare) Functor and std::pair :: STL Pin
valikac23-Dec-02 4:59
valikac23-Dec-02 4:59 
GeneralUnsorted Map and Multimap :: STL Pin
valikac21-Dec-02 11:08
valikac21-Dec-02 11:08 
GeneralRe: Unsorted Map and Multimap :: STL Pin
Tim Smith21-Dec-02 11:30
Tim Smith21-Dec-02 11:30 
GeneralRe: Unsorted Map and Multimap :: STL Pin
valikac21-Dec-02 11:43
valikac21-Dec-02 11:43 
GeneralRe: Unsorted Map and Multimap :: STL Pin
Christian Graus21-Dec-02 11:33
protectorChristian Graus21-Dec-02 11:33 
GeneralRe: Unsorted Map and Multimap :: STL Pin
valikac21-Dec-02 12:43
valikac21-Dec-02 12:43 
GeneralRe: Unsorted Map and Multimap :: STL Pin
Christian Graus21-Dec-02 12:46
protectorChristian Graus21-Dec-02 12:46 
GeneralRe: Unsorted Map and Multimap :: STL Pin
valikac21-Dec-02 12:50
valikac21-Dec-02 12:50 

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.