Click here to Skip to main content
15,902,635 members
Home / Discussions / COM
   

COM

 
QuestionCOM like MS.Equation in MS.Word Pin
vtalau13-Apr-06 21:35
vtalau13-Apr-06 21:35 
QuestionHow to replace the moniker used by MSHTML into Internet Explorer Pin
manudev13-Apr-06 5:00
manudev13-Apr-06 5:00 
QuestionReinstance COM Object in C++ Pin
MarcoNedwig11-Apr-06 23:21
MarcoNedwig11-Apr-06 23:21 
AnswerRe: Reinstance COM Object in C++ Pin
User 21559712-Apr-06 0:07
User 21559712-Apr-06 0:07 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:25
MarcoNedwig12-Apr-06 0:25 
GeneralRe: Reinstance COM Object in C++ Pin
User 21559712-Apr-06 0:37
User 21559712-Apr-06 0:37 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:41
MarcoNedwig12-Apr-06 0:41 
GeneralRe: Reinstance COM Object in C++ Pin
Stephen Hewitt12-Apr-06 14:57
Stephen Hewitt12-Apr-06 14:57 
What happens when the reference count of an object reaches 0 is a decision for the objects implementers to make. Lets assume the COM object is written in C++. Most objects will delete themselves when the reference count reaches zero. This is not mandatory however; A singleton will not delete itself when the reference count reaches 0, for example. In general it's an implementation detail which you shouldn't be concerned about. As a client you just follow the rules:
- Call AddRef when you copy an interface pointer.
- Call Release when an interface pointer goes out of scope.
- Don't use an interface pointer after you've called Release on it.


Steve
GeneralRe: Reinstance COM Object in C++ Pin
User 21559712-Apr-06 20:19
User 21559712-Apr-06 20:19 
QuestionAdding Controls Pin
rahultaing11-Apr-06 15:04
rahultaing11-Apr-06 15:04 
AnswerRe: Adding Controls Pin
Robilltuan12-Apr-06 16:43
Robilltuan12-Apr-06 16:43 
QuestionControls Pin
rahultaing11-Apr-06 14:34
rahultaing11-Apr-06 14:34 
QuestionOffice COM Addin -- SOS need help!!!! Pin
Alex Hoffenreich11-Apr-06 4:58
Alex Hoffenreich11-Apr-06 4:58 
Questionproblem with Derived class in WMI Pin
abhiramsss10-Apr-06 18:51
abhiramsss10-Apr-06 18:51 
QuestionActiveX control in console application Pin
Phil Harding10-Apr-06 0:51
Phil Harding10-Apr-06 0:51 
AnswerRe: ActiveX control in console application Pin
Jörgen Sigvardsson10-Apr-06 3:27
Jörgen Sigvardsson10-Apr-06 3:27 
QuestionHow to add a my own shortcut item to the outlook shortcutbar with VC Pin
lxwsh9-Apr-06 22:56
lxwsh9-Apr-06 22:56 
AnswerRe: How to add a my own shortcut item to the outlook shortcutbar with VC Pin
Ganesh_T14-Apr-06 23:29
Ganesh_T14-Apr-06 23:29 
Questionerror D8045 Pin
rahultaing9-Apr-06 21:27
rahultaing9-Apr-06 21:27 
AnswerRe: error D8045 Pin
khan++9-Apr-06 21:34
khan++9-Apr-06 21:34 
QuestionIHTMLSelectElement onchange event Pin
abhishekks9-Apr-06 21:16
abhishekks9-Apr-06 21:16 
Questionwhy can not get the variable value correctly Pin
brygid9-Apr-06 20:27
brygid9-Apr-06 20:27 
QuestionC# project as a Client to COM component Pin
rahultaing9-Apr-06 15:28
rahultaing9-Apr-06 15:28 
AnswerRe: C# project as a Client to COM component Pin
Lim Bio Liong9-Apr-06 22:24
Lim Bio Liong9-Apr-06 22:24 
QuestionHow are COM objects instantiated? Pin
Richard Andrew x649-Apr-06 12:45
professionalRichard Andrew x649-Apr-06 12: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.