Click here to Skip to main content
15,887,596 members
Home / Discussions / COM
   

COM

 
Questionbutton image in activex Pin
aysl18-Mar-09 9:41
aysl18-Mar-09 9:41 
AnswerRe: button image in activex Pin
Jonathan Davies19-Mar-09 1:23
Jonathan Davies19-Mar-09 1:23 
GeneralRe: button image in activex Pin
aysl19-Mar-09 2:46
aysl19-Mar-09 2:46 
GeneralRe: button image in activex Pin
Jonathan Davies19-Mar-09 3:08
Jonathan Davies19-Mar-09 3:08 
GeneralRe: button image in activex Pin
aysl19-Mar-09 3:27
aysl19-Mar-09 3:27 
GeneralRe: button image in activex Pin
Jonathan Davies19-Mar-09 4:13
Jonathan Davies19-Mar-09 4:13 
GeneralRe: button image in activex Pin
aysl19-Mar-09 4:50
aysl19-Mar-09 4:50 
QuestionCOM and deriveing Pin
orafal17-Mar-09 22:23
orafal17-Mar-09 22:23 
Hello, is it possible to create a COM objects structure as below:

In a dll library I define:
class T1
{
public:
   STDMETHOD(Method)();
}

STDMETHODIMP T1::Method()
{
   AFX_MANAGE_STATE(AfxGetStaticModuleState())

   return S_OK;
}

which implements interface:
interface IT1 : IDispatch
{
   [id(1)] HRESULT Method();
};

coclass T1
{
   [default] interface IT1;
};

and then I would like to have:
class T2 : public T1
{
//something additional
}

I would like to create a COM objects from the class T2 and have all the functionality provided by class T1. E.g. I would like to call:
CComQIPtr<it2> spiT1(piT2);
spiT1->Method();
</it2>

Anyone can help?


AnswerRe: COM and deriveing Pin
kcynic17-Mar-09 23:55
kcynic17-Mar-09 23:55 
AnswerRe: COM and deriveing Pin
«_Superman_»18-Mar-09 22:56
professional«_Superman_»18-Mar-09 22:56 
AnswerRe: COM and deriveing Pin
CurtD20-Mar-09 15:00
CurtD20-Mar-09 15:00 
QuestionHow To Import And Use COM+ EXE [modified] Pin
Ash_VCPP17-Mar-09 21:01
Ash_VCPP17-Mar-09 21:01 
AnswerRe: How To Import And Use COM+ EXE Pin
Baltoro21-Mar-09 7:50
Baltoro21-Mar-09 7:50 
GeneralRe: How To Import And Use COM+ EXE Pin
Ash_VCPP24-Mar-09 23:01
Ash_VCPP24-Mar-09 23:01 
QuestionHow to use COM in such condition? Pin
kcynic16-Mar-09 19:48
kcynic16-Mar-09 19:48 
AnswerRe: How to use COM in such condition? Pin
Jonathan Davies17-Mar-09 3:06
Jonathan Davies17-Mar-09 3:06 
GeneralRe: How to use COM in such condition? Pin
Jonathan Davies17-Mar-09 3:10
Jonathan Davies17-Mar-09 3:10 
GeneralRe: How to use COM in such condition? Pin
kcynic17-Mar-09 13:11
kcynic17-Mar-09 13:11 
GeneralRe: How to use COM in such condition? Pin
kcynic18-Mar-09 15:39
kcynic18-Mar-09 15:39 
GeneralRe: How to use COM in such condition? Pin
Jonathan Davies19-Mar-09 1:00
Jonathan Davies19-Mar-09 1:00 
GeneralRe: How to use COM in such condition? Pin
kcynic19-Mar-09 2:25
kcynic19-Mar-09 2:25 
GeneralRe: How to use COM in such condition? Pin
Jonathan Davies19-Mar-09 2:59
Jonathan Davies19-Mar-09 2:59 
GeneralRe: How to use COM in such condition? Pin
kcynic19-Mar-09 3:17
kcynic19-Mar-09 3:17 
Questioncustomizing context menu in MS Outlook Pin
nikhil3116-Mar-09 17:58
nikhil3116-Mar-09 17:58 
Questionusing COM objects from Java that runs on SUN Java VM under MS platforms Pin
Varghese Paul M16-Mar-09 1:22
Varghese Paul M16-Mar-09 1: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.