Click here to Skip to main content
15,891,316 members
Home / Discussions / COM
   

COM

 
AnswerRe: host an activeX control from an activeX control? Pin
steve_c_davis13-Sep-07 5:33
steve_c_davis13-Sep-07 5:33 
QuestionIncorrectly formated message url in OnSyncSave Pin
Ashish Vasudev12-Sep-07 3:29
Ashish Vasudev12-Sep-07 3:29 
QuestionBeginner COM Pin
Kuryn11-Sep-07 9:10
Kuryn11-Sep-07 9:10 
AnswerRe: Beginner COM Pin
Michael Dunn13-Sep-07 10:10
sitebuilderMichael Dunn13-Sep-07 10:10 
QuestionRegistry Pin
john563210-Sep-07 19:46
john563210-Sep-07 19:46 
QuestionHow to create a proxy/stub dll for a odl( which has come with MFC dialog based application with automation support) Pin
Kishore JP10-Sep-07 0:58
Kishore JP10-Sep-07 0:58 
QuestionHow to write directly in COleStreamFile(would be serialized in Structured Storage)? Pin
oleg637-Sep-07 11:28
professionaloleg637-Sep-07 11:28 
QuestionUsing COM in a scenario. Pin
HakunaMatada6-Sep-07 19:09
HakunaMatada6-Sep-07 19:09 
Hi,

I have a small problem. Hope you guys help me solve it. Here goes...

I have a base class BASE and three classes derived from BASE, namely A, B and C. BASE contains properties and functions common to A, B and C. Now, I have to create multiple instances of A, B and C and store them together. So what do I do? I create an array of BASE pointers and a variable which signifies the type of derived class the BASE pointer holds so that whenever I need a derived class, I just get the pointer and type from the Array and upcast it to its concerned class. Is this a good design?

Now I have to implement the same using COM components. I have to expose BASE, A, B and C via COM interfaces and create the component such that when ever I get a BASE component, just by looking at the type, I can Query it for the appropriate Interface. Is the correct way of solving such a problem or is there a better way to do it?

Thanks..

---
Beer | [beer] Hakuna-Matata Beer | [beer]
It means no worries for the rest of your days...
It's our problem free, Philosophy

Jig | [Dance]

"I think my response was 'What idiot dreamed this up?'" -- Mary Ann Davidson, Oracle's chief security officer, in typical blunt manner, remembering her reaction to the company's scheme to brand its databases as "unbreakable."

AnswerRe: Using COM in a scenario. Pin
Hubert Mayer12-Sep-07 5:04
Hubert Mayer12-Sep-07 5:04 
QuestionConverting a C++ COM object to .NET COM object Pin
xavierakx6-Sep-07 17:51
xavierakx6-Sep-07 17:51 
AnswerRe: Converting a C++ COM object to .NET COM object Pin
Venkata Rama Subbarao11-Sep-07 14:39
Venkata Rama Subbarao11-Sep-07 14:39 
GeneralRe: Converting a C++ COM object to .NET COM object Pin
xavierakx11-Sep-07 17:32
xavierakx11-Sep-07 17:32 
GeneralApplication crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
sw@thi6-Sep-07 1:17
sw@thi6-Sep-07 1:17 
GeneralRe: Application crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
Hubert Mayer12-Sep-07 5:06
Hubert Mayer12-Sep-07 5:06 
QuestionGUID Creation Pin
HakunaMatada5-Sep-07 18:53
HakunaMatada5-Sep-07 18:53 
AnswerRe: GUID Creation Pin
Michael Dunn6-Sep-07 15:25
sitebuilderMichael Dunn6-Sep-07 15:25 
QuestionTlbImp is causing an error ? Pin
AF_Ciphr5-Sep-07 5:27
AF_Ciphr5-Sep-07 5:27 
QuestionActiveX - open file error Pin
m1m24-Sep-07 10:18
m1m24-Sep-07 10:18 
QuestionFailed to import COM dll in C++ into C# in .NET 2005 Pin
Jack Rong4-Sep-07 5:50
Jack Rong4-Sep-07 5:50 
AnswerRe: Failed to import COM dll in C++ into C# in .NET 2005 Pin
myshketer5-Sep-07 2:50
myshketer5-Sep-07 2:50 
QuestionDCOM Server question Pin
PaulCammy3-Sep-07 11:31
PaulCammy3-Sep-07 11:31 
AnswerRe: DCOM Server question Pin
Hubert Mayer14-Sep-07 5:13
Hubert Mayer14-Sep-07 5:13 
QuestionImplementing IDownloadManager & download() method.. Pin
p33ks3-Sep-07 3:54
p33ks3-Sep-07 3:54 
SuggestioncsExWBv2.0.0.2 + TrueDownloaderIE Pin
xinkmt7-Dec-11 16:08
xinkmt7-Dec-11 16:08 
QuestionMSWord COM Addin problem Pin
Tarek Jabri3-Sep-07 2:09
Tarek Jabri3-Sep-07 2:09 

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.