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

COM

 
GeneralRe: Event handing problem. Pin
Prakash Nadar27-Jan-04 5:07
Prakash Nadar27-Jan-04 5:07 
GeneralRe: Event handing problem. Pin
Maverick3-Feb-04 20:03
Maverick3-Feb-04 20:03 
GeneralRe: Event handing problem. Pin
Lim Bio Liong4-Feb-04 7:01
Lim Bio Liong4-Feb-04 7:01 
GeneralRe: Event handing problem. Pin
Maverick4-Feb-04 15:54
Maverick4-Feb-04 15:54 
GeneralRe: Event handing problem. Pin
Lim Bio Liong4-Feb-04 17:17
Lim Bio Liong4-Feb-04 17:17 
GeneralRe: Event handing problem. Pin
Lim Bio Liong4-Feb-04 19:49
Lim Bio Liong4-Feb-04 19:49 
GeneralRe: Event handing problem. Pin
Lim Bio Liong4-Feb-04 20:22
Lim Bio Liong4-Feb-04 20:22 
GeneralRe: Event handing problem. Pin
Maverick4-Feb-04 20:57
Maverick4-Feb-04 20:57 
Hello!!!

Thank you very much for the explanation.. I did have an additional info
about COM...

Well for your information, what i did was I made a COM Object using ATL in VC++, and i think it already inhertis an IDispInterFace Interface...

<br />
class ATL_NO_VTABLE CCsSdp : <br />
	public CComObjectRootEx<CComSingleThreadModel>,<br />
	public CComCoClass<CCsSdp, &CLSID_CsSdp>,<br />
	public ISupportErrorInfo,<br />
	public IConnectionPointContainerImpl<CCsSdp>,<br />
	public IDispatchImpl<ICsSdp, &IID_ICsSdp, &LIBID_BTRFCOMMLib>,<br />
	public CProxy_ICsSdpEvents< CCsSdp >,<br />
        public CNetwork //insert Network class here<br />
{<br />
....<br />
...<br />
...<br />
DECLARE_REGISTRY_RESOURCEID(IDR_CSSDP)<br />
<br />
DECLARE_PROTECT_FINAL_CONSTRUCT()<br />
<br />
BEGIN_COM_MAP(CCsSdp)<br />
	COM_INTERFACE_ENTRY(ICsSdp)<br />
	COM_INTERFACE_ENTRY(IDispatch)<br />
	COM_INTERFACE_ENTRY(ISupportErrorInfo)<br />
	COM_INTERFACE_ENTRY(IConnectionPointContainer)<br />
	COM_INTERFACE_ENTRY_IMPL(IConnectionPointContainer)<br />
END_COM_MAP()<br />
...<br />
...<br />

Is this ok?

i just added the Network Class to its base class of the Com Object.. Is this a nice idea? the multiple inheritance issue here? or do i have to make the Network Class/Object a member variable of the Com Class?
GeneralRe: Event handing problem. Pin
Lim Bio Liong4-Feb-04 23:39
Lim Bio Liong4-Feb-04 23:39 
GeneralRe: Event handing problem. Pin
Maverick5-Feb-04 0:31
Maverick5-Feb-04 0:31 
GeneralRe: Event handing problem. Pin
Lim Bio Liong5-Feb-04 0:48
Lim Bio Liong5-Feb-04 0:48 
GeneralRe: Event handing problem. Pin
Maverick5-Feb-04 15:42
Maverick5-Feb-04 15:42 
GeneralRe: Event handing problem. Pin
Lim Bio Liong6-Feb-04 1:27
Lim Bio Liong6-Feb-04 1:27 
GeneralReg: EnumConnectionPoints and IEnumConnectionPoints Pin
Adi Narayana20-Jan-04 4:07
Adi Narayana20-Jan-04 4:07 
GeneralRe: Reg: EnumConnectionPoints and IEnumConnectionPoints Pin
Jörgen Sigvardsson25-Jan-04 13:45
Jörgen Sigvardsson25-Jan-04 13:45 
GeneralStructured storage and compound files Pin
Omar Alvi20-Jan-04 2:04
Omar Alvi20-Jan-04 2:04 
GeneralRe: Structured storage and compound files Pin
Jörgen Sigvardsson25-Jan-04 13:49
Jörgen Sigvardsson25-Jan-04 13:49 
GeneralIProcessInitializer / COM+ Pin
vlvl19-Jan-04 4:58
vlvl19-Jan-04 4:58 
GeneralI need a good book... Pin
profoundwhispers19-Jan-04 3:17
profoundwhispers19-Jan-04 3:17 
GeneralRe: I need a good book... Pin
Jörgen Sigvardsson25-Jan-04 13:54
Jörgen Sigvardsson25-Jan-04 13:54 
GeneralRe: I need a good book... Pin
Prakash Nadar25-Jan-04 22:17
Prakash Nadar25-Jan-04 22:17 
GeneralRe: I need a good book... Pin
Jörgen Sigvardsson25-Jan-04 22:21
Jörgen Sigvardsson25-Jan-04 22:21 
GeneralScriptable ActiveX and javascript Pin
gialli19-Jan-04 2:04
gialli19-Jan-04 2:04 
GeneralRe: Scriptable ActiveX and javascript Pin
Anonymous30-Jan-04 10:54
Anonymous30-Jan-04 10:54 
GeneralInterdev and COM Pin
Davy Mitchell19-Jan-04 0:14
Davy Mitchell19-Jan-04 0:14 

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.