Click here to Skip to main content
15,910,210 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralVS.NET: Use of ATL Pin
Paul Selormey25-Dec-02 14:54
Paul Selormey25-Dec-02 14:54 
GeneralRe: VS.NET: Use of ATL Pin
Anonymous26-Dec-02 2:29
Anonymous26-Dec-02 2:29 
GeneralQueryInterface Pin
qur23-Dec-02 8:15
qur23-Dec-02 8:15 
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 
Michael Dunn wrote:
CComObject is not a smart pointer class, so any time you create a new reference to the underlying object, you need to AddRef() it.

Ok, not know hardly anything about COM I have a question off this answer. I assume that CComObject is an already wrapped class/object? Otherwise wouldn't you call an AddRef(); function inside your constructor to increment the reference counting? I suppose a more generalized answer to my question would be for me to read more about COM. In due time I suppose. Smile | :)



Nick Parker

You see the Standards change. - Fellow co-worker


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 
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 

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.