Click here to Skip to main content
16,012,843 members
Home / Discussions / COM
   

COM

 
GeneralRe: String Passing in COM component Pin
Jason Henderson26-Aug-02 17:01
Jason Henderson26-Aug-02 17:01 
GeneralRe: String Passing in COM component Pin
b_p_smith27-Aug-02 8:19
b_p_smith27-Aug-02 8:19 
GeneralGet/create application object Pin
EvanHansen18-Aug-02 21:14
EvanHansen18-Aug-02 21:14 
GeneralRe: Get/create application object Pin
Stephane Rodriguez.19-Aug-02 3:07
Stephane Rodriguez.19-Aug-02 3:07 
GeneralConnection Points Question for COM Gurus Pin
Complete Com Beginner17-Aug-02 13:05
sussComplete Com Beginner17-Aug-02 13:05 
GeneralRe: Connection Points Question for COM Gurus Pin
Ernest Laurentin18-Aug-02 17:06
Ernest Laurentin18-Aug-02 17:06 
GeneralRe: Connection Points Question for COM Gurus Pin
Todd Smith27-Aug-02 20:40
Todd Smith27-Aug-02 20:40 
Generaldiscarding smart pointers Pin
Jason Henderson16-Aug-02 10:44
Jason Henderson16-Aug-02 10:44 
Does it do any harm or is it bad practice to Release a smart pointer's interface when you are finished with it?
C++
MySmartPtr ptr = NULL;
ptr.CreateInstance("blah");
...
ptr.Release();
ptr = NULL;


I do this a lot and it seems ok (on the surface). Release releases the m_pInterface member and the smart pointer is set to null.

Examples I have seen just use
C++
ptr = NULL;


Jason Henderson
quasi-homepage
articles
"Like it or not, I'm right!"


GeneralRe: discarding smart pointers Pin
Ernest Laurentin18-Aug-02 17:14
Ernest Laurentin18-Aug-02 17:14 
GeneralRe: discarding smart pointers Pin
Jason Henderson19-Aug-02 2:44
Jason Henderson19-Aug-02 2:44 
GeneralCOM Object for sending ZIP file over internet Pin
abhinarulkar16-Aug-02 3:11
abhinarulkar16-Aug-02 3:11 
GeneralRe: COM Object for sending ZIP file over internet Pin
Stephane Rodriguez.18-Aug-02 2:40
Stephane Rodriguez.18-Aug-02 2:40 
GeneralRe: COM Object for sending ZIP file over internet Pin
Amit Dey27-Aug-02 12:12
Amit Dey27-Aug-02 12:12 
GeneralRe: COM Object for sending ZIP file over internet Pin
Todd Smith27-Aug-02 20:37
Todd Smith27-Aug-02 20:37 
GeneralDLL Linker error Pin
suresh_sathya15-Aug-02 23:20
suresh_sathya15-Aug-02 23:20 
GeneralRe: DLL Linker error Pin
Stephane Rodriguez.16-Aug-02 2:07
Stephane Rodriguez.16-Aug-02 2:07 
GeneralDll Loading Clarification Pin
Muhammad Nauman Khan15-Aug-02 20:44
Muhammad Nauman Khan15-Aug-02 20:44 
GeneralCOM Usage Pin
abhinarulkar15-Aug-02 19:05
abhinarulkar15-Aug-02 19:05 
GeneralRe: COM Usage Pin
Paul M Watt15-Aug-02 20:05
mentorPaul M Watt15-Aug-02 20:05 
GeneralRe: COM Usage Pin
abhinarulkar16-Aug-02 1:20
abhinarulkar16-Aug-02 1:20 
GeneralRe: COM Usage Pin
Stephane Rodriguez.15-Aug-02 20:44
Stephane Rodriguez.15-Aug-02 20:44 
GeneralCOM+ Alternatives in .NET Pin
Steve Severance15-Aug-02 13:10
Steve Severance15-Aug-02 13:10 
GeneralRe: COM+ Alternatives in .NET Pin
Stephane Rodriguez.15-Aug-02 20:58
Stephane Rodriguez.15-Aug-02 20:58 
GeneralRe: COM+ Alternatives in .NET Pin
Steve Severance16-Aug-02 3:53
Steve Severance16-Aug-02 3:53 
GeneralRe: COM+ Alternatives in .NET Pin
Stephane Rodriguez.18-Aug-02 2:45
Stephane Rodriguez.18-Aug-02 2:45 

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.