Click here to Skip to main content
15,915,501 members
Home / Discussions / COM
   

COM

 
AnswerRe: Events Pin
lafleon25-Apr-07 6:18
lafleon25-Apr-07 6:18 
QuestionBasic question about WORD object model Pin
Keerzee20-Apr-07 10:49
Keerzee20-Apr-07 10:49 
QuestionATL COM Service Pin
Janma20-Apr-07 1:23
Janma20-Apr-07 1:23 
AnswerRe: ATL COM Service Pin
lafleon25-Apr-07 6:24
lafleon25-Apr-07 6:24 
QuestionParameterized constructor in MFC/COM?? Pin
vb11619-Apr-07 5:35
vb11619-Apr-07 5:35 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
Phil Harding19-Apr-07 20:46
Phil Harding19-Apr-07 20:46 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
CPallini19-Apr-07 20:58
mveCPallini19-Apr-07 20:58 
AnswerRe: Parameterized constructor in MFC/COM?? Pin
Roger Stoltz19-Apr-07 21:17
Roger Stoltz19-Apr-07 21:17 
Bhavesh Vaghela wrote:
I am not able to find following equivalents of java in COM


Confused | :confused: Confused | :confused:
Java is a programming language, but COM is a technique that can be implemented in several languages e.g. C/C++, VB, Java etc. It doesn't make sense to compare those two.


Bhavesh Vaghela wrote:
Defining Constant fields


I don't get what you mean by that, but perhaps a look at some IDL documentation[^] would help.


Bhavesh Vaghela wrote:
Defining and calling parameterizing constructor


In COM you don't have a "constructor", you have a class factory that creates the instance which is created and called when the client calls ::CoCreateInstance(...).
Technically you can have different constructors and edit the class factory to make use of them, but there's really no point. You should use persistent storage and monikers instead to let the server know how it should initialize itself.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

QuestionIs COM good way to secure code ? Pin
Stevo Z19-Apr-07 3:08
Stevo Z19-Apr-07 3:08 
Questionwindow control that can display animated gif as well as text in it . Pin
pk200719-Apr-07 2:44
pk200719-Apr-07 2:44 
AnswerRe: window control that can display animated gif as well as text in it . Pin
pk200719-Apr-07 19:36
pk200719-Apr-07 19:36 
QuestionProblem With ActiveX Control Pin
Adeel68819-Apr-07 2:31
Adeel68819-Apr-07 2:31 
QuestionBSTR and char* Pin
cppshishu19-Apr-07 0:30
cppshishu19-Apr-07 0:30 
AnswerRe: BSTR and char* Pin
CPallini19-Apr-07 1:49
mveCPallini19-Apr-07 1:49 
GeneralRe: BSTR and char* Pin
cppshishu19-Apr-07 23:30
cppshishu19-Apr-07 23:30 
QuestionHow to pass string from C# to C++ (COM) Pin
Stevo Z18-Apr-07 0:16
Stevo Z18-Apr-07 0:16 
AnswerRe: How to pass string from C# to C++ (COM) Pin
Sujit Gupta18-Apr-07 8:03
Sujit Gupta18-Apr-07 8:03 
AnswerRe: How to pass string from C# to C++ (COM) Pin
sthotakura18-Apr-07 8:25
sthotakura18-Apr-07 8:25 
AnswerRe: How to pass string from C# to C++ (COM) Pin
CPallini18-Apr-07 21:59
mveCPallini18-Apr-07 21:59 
AnswerRe: How to pass string from C# to C++ (COM) Pin
lafleon19-Apr-07 13:22
lafleon19-Apr-07 13:22 
QuestionWhat type of attribute ? Pin
Stevo Z17-Apr-07 0:12
Stevo Z17-Apr-07 0:12 
AnswerRe: What type of attribute ? Pin
sthotakura18-Apr-07 8:49
sthotakura18-Apr-07 8:49 
Questionhr = CoInitialize(NULL); return S_FALSE Pin
amitmistry_petlad 16-Apr-07 23:31
amitmistry_petlad 16-Apr-07 23:31 
AnswerRe: hr = CoInitialize(NULL); return S_FALSE Pin
Roger Stoltz17-Apr-07 3:13
Roger Stoltz17-Apr-07 3:13 
GeneralRe: hr = CoInitialize(NULL); return S_FALSE Pin
amitmistry_petlad 17-Apr-07 3:22
amitmistry_petlad 17-Apr-07 3:22 

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.