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

COM

 
QuestionQuerying WMI from inside WMI Provider Pin
krishiyengar4-Jun-09 9:23
krishiyengar4-Jun-09 9:23 
AnswerRe: Querying WMI from inside WMI Provider Pin
Baltoro4-Jun-09 14:02
Baltoro4-Jun-09 14:02 
GeneralRe: Querying WMI from inside WMI Provider Pin
krishiyengar5-Jun-09 5:46
krishiyengar5-Jun-09 5:46 
GeneralRe: Querying WMI from inside WMI Provider Pin
Baltoro6-Jun-09 8:35
Baltoro6-Jun-09 8:35 
GeneralRe: Querying WMI from inside WMI Provider Pin
krishiyengar8-Jun-09 3:04
krishiyengar8-Jun-09 3:04 
GeneralRe: Querying WMI from inside WMI Provider Pin
krishiyengar8-Jun-09 6:02
krishiyengar8-Jun-09 6:02 
QuestionPROBLEM IN MDAC version2.6 Pin
RAJAGOPALMS762-Jun-09 0:08
RAJAGOPALMS762-Jun-09 0:08 
QuestionHow to get Defalut interface of CoClass Pin
vibindia1-Jun-09 23:55
vibindia1-Jun-09 23:55 
I have loaded a Typelib of ("C:\\WINDOWS\\system32\\FM20.DLL")

ITypeLib*     m_pTypeLib;
HRESULT hr = ::LoadTypeLib(ws_type_lib_file.c_str(), &m_pTypeLib);

And got the TypeInfo of below Guid

CString strClsid= "{8BD21D40-EC42-11CE-9E0D-00AA006002F3}";
CLSID clsid;    
BSTR bstrClassId;
bstrClassId = strClsid.AllocSysString();
VERIFY(NOERROR == CLSIDFromString(bstrClassId, &clsid));
::SysFreeString(bstrClassId);
ITypeInfo*     m_pCurITypeInfo;
m_pTypeLib->GetTypeInfoOfGuid(clsid,&m_pCurITypeInfo);

This is an co class. Which has two interface.(Copied form Ole view)

[
   uuid(8BD21D40-EC42-11CE-9E0D-00AA006002F3),
   helpcontext(0x001e8656),
   noncreatable,
   control
]
coclass CheckBox {
      [default] interface IMdcCheckBox;
      [default, source] dispinterface MdcCheckBoxEvents;
};

How can I get the default interface of this coclass.Actually i need need the property and method name of IMdcCheckBox.(But i will not be having the Giud of IMdcCheckBox)

VIBIN

"Fool's run away,where angle's fear to tread"

AnswerRe: How to get Defalut interface of CoClass Pin
«_Superman_»2-Jun-09 0:21
professional«_Superman_»2-Jun-09 0:21 
AnswerRe: How to get Defalut interface of CoClass Pin
vibindia2-Jun-09 0:37
vibindia2-Jun-09 0:37 
AnswerRe: How to get Defalut interface of CoClass [modified] Pin
Lim Bio Liong6-Jun-09 5:32
Lim Bio Liong6-Jun-09 5:32 
QuestionHow to customise the window xp print dialog. Pin
manjari kar30-May-09 1:23
manjari kar30-May-09 1:23 
QuestionDebugging WMI Providers Pin
krishiyengar28-May-09 7:26
krishiyengar28-May-09 7:26 
AnswerRe: Debugging WMI Providers Pin
Stuart Dootson28-May-09 8:08
professionalStuart Dootson28-May-09 8:08 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 2:10
krishiyengar29-May-09 2:10 
GeneralRe: Debugging WMI Providers Pin
Stuart Dootson29-May-09 2:12
professionalStuart Dootson29-May-09 2:12 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 2:49
krishiyengar29-May-09 2:49 
GeneralRe: Debugging WMI Providers Pin
Stuart Dootson29-May-09 2:53
professionalStuart Dootson29-May-09 2:53 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 3:03
krishiyengar29-May-09 3:03 
GeneralRe: Debugging WMI Providers Pin
Stuart Dootson29-May-09 3:18
professionalStuart Dootson29-May-09 3:18 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 3:31
krishiyengar29-May-09 3:31 
GeneralRe: Debugging WMI Providers Pin
Stuart Dootson29-May-09 3:43
professionalStuart Dootson29-May-09 3:43 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 3:54
krishiyengar29-May-09 3:54 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 4:46
krishiyengar29-May-09 4:46 
GeneralRe: Debugging WMI Providers Pin
krishiyengar29-May-09 5:34
krishiyengar29-May-09 5:34 

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.