Click here to Skip to main content
15,892,737 members
Home / Discussions / COM
   

COM

 
GeneralHelp with IDropTarget Interface really needed Pin
Jim Parsells15-Jun-05 17:29
Jim Parsells15-Jun-05 17:29 
GeneralManipulate CWnd-derived object in ActiveX Control Pin
dhamilton15-Jun-05 12:15
dhamilton15-Jun-05 12:15 
GeneralRe: Manipulate CWnd-derived object in ActiveX Control Pin
dhamilton17-Jun-05 6:57
dhamilton17-Jun-05 6:57 
GeneralSharing Memory between two components with MapViewOfFile... Pin
metal_rob15-Jun-05 5:17
metal_rob15-Jun-05 5:17 
GeneralRe: Sharing Memory between two components with MapViewOfFile... Pin
GuimaSun23-Jun-05 9:45
GuimaSun23-Jun-05 9:45 
GeneralIPropertyBag who knows?! Pin
Member 115323814-Jun-05 22:29
Member 115323814-Jun-05 22:29 
GeneralRe: IPropertyBag who knows?! Pin
User 21559722-Jun-05 4:50
User 21559722-Jun-05 4:50 
GeneralIPropertyBag who knows?! Pin
Member 115323814-Jun-05 22:28
Member 115323814-Jun-05 22:28 
Sigh | :sigh: Cry | :(( Mad | :mad:

Look the following code:




hr = pVC->QueryInterface(IID_IPropertyBag, (void **)&pBag);
if(FAILED(hr))
{
MessageBox(NULL,TEXT("Creating IPropertyBag object failed!"),NULL,MB_OK);
return FALSE;
}



The return value shows that pVC doesn't support IPropertyBag interface.Now I just wanna know how can I find the right interface that support the IPropertyBag.Thanks a lot!
My email is siwlyfe@hotmail.com.Please send your idea to me and also we can discuss it by MSN.Thanks again!

判断返回值结果:pPropertyBag不支持IPropertyBag接口,那么我现在想知道如何能查到哪个接口的对象
支持IPropertyBag接口,怎么来查?
打扰,多谢Smile | :)

pig head xiaoma
GeneralStrange ActiveX behaviour. Pin
Jan van den Baard13-Jun-05 8:09
professionalJan van den Baard13-Jun-05 8:09 
Generalactivexscripting Pin
dittygrail12-Jun-05 23:08
dittygrail12-Jun-05 23:08 
GeneralBSTR Pin
pardis11-Jun-05 20:20
pardis11-Jun-05 20:20 
GeneralRe: BSTR Pin
User 21559713-Jun-05 3:44
User 21559713-Jun-05 3:44 
GeneralRe: BSTR Pin
Lim Bio Liong13-Jun-05 23:44
Lim Bio Liong13-Jun-05 23:44 
GeneralRe: BSTR Pin
Get.Well14-Jun-05 1:57
Get.Well14-Jun-05 1:57 
GeneralLooking for Excel ver.9 type library (and how to make it work!) Pin
minette9-Jun-05 3:58
minette9-Jun-05 3:58 
GeneralCopy data to spread sheet component from excel file Pin
Member 20313358-Jun-05 22:34
Member 20313358-Jun-05 22:34 
GeneralCapturing ActiveX events Pin
Haroon8-Jun-05 19:51
Haroon8-Jun-05 19:51 
GeneralSending User Defined Types over COM Interface Pin
ChemmieBro8-Jun-05 4:53
ChemmieBro8-Jun-05 4:53 
GeneralRe: Sending User Defined Types over COM Interface Pin
Andy Moore8-Jun-05 11:06
Andy Moore8-Jun-05 11:06 
GeneralRe: Sending User Defined Types over COM Interface Pin
Lim Bio Liong14-Jun-05 1:16
Lim Bio Liong14-Jun-05 1:16 
GeneralRe: Sending User Defined Types over COM Interface Pin
Logan from Singapore26-Jun-05 23:05
Logan from Singapore26-Jun-05 23:05 
GeneralRe: Sending User Defined Types over COM Interface Pin
Lim Bio Liong27-Jun-05 0:26
Lim Bio Liong27-Jun-05 0:26 
GeneralCreate GUID from string Pin
Kri58-Jun-05 4:17
Kri58-Jun-05 4:17 
GeneralRe: Create GUID from string Pin
Anonymous9-Jun-05 1:00
Anonymous9-Jun-05 1:00 
GeneralGet Control ID from ActiveX button Pin
MailtoGops6-Jun-05 5:52
MailtoGops6-Jun-05 5:52 

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.