Click here to Skip to main content
16,004,901 members
Home / Discussions / COM
   

COM

 
QuestionCOM Interface -> C++ wrapper utility ? Pin
vipsy24-Feb-04 3:29
vipsy24-Feb-04 3:29 
AnswerRe: COM Interface -> C++ wrapper utility ? Pin
ian mariano24-Feb-04 11:06
ian mariano24-Feb-04 11:06 
GeneralRe: COM Interface -> C++ wrapper utility ? Pin
vipsy24-Feb-04 18:06
vipsy24-Feb-04 18:06 
GeneralRe: COM Interface -> C++ wrapper utility ? Pin
yoav S16-Mar-04 9:01
sussyoav S16-Mar-04 9:01 
GeneralCOM Stateless Vs Stateful Pin
BIG_MG24-Feb-04 1:48
BIG_MG24-Feb-04 1:48 
GeneralRe: COM Stateless Vs Stateful Pin
Jörgen Sigvardsson24-Feb-04 3:37
Jörgen Sigvardsson24-Feb-04 3:37 
GeneralDCOM user identity Pin
-Dy24-Feb-04 1:46
-Dy24-Feb-04 1:46 
QuestionHow to Get property value if it returns BSTR Pin
Inam23-Feb-04 20:33
Inam23-Feb-04 20:33 
I have a com object in which there are different properties. When i get these values through it works well when property is returning long or some other integer but it crashes when property is returning bstr. Take a look at my code and guide me that what i did wrong.
VARIANT pvResult;
memset(&pvResult, 0, sizeof pvResult);
VariantInit(&pvResult);
DISPID dispID=this->pColl->getMemberID(index);
DISPPARAMS dispParamsNoArgs={NULL,NULL,0,0};
HRESULT hr=pDispatch->Invoke(dispID,IID_NULL,LOCALE_USER_DEFAULT,
DISPATCH_PROPERTYGET,&dispParamsNoArgs,
&pvResult,NULL,&nArgErr);
Thanx in advance

Inam
AnswerRe: How to Get property value if it returns BSTR Pin
safee ullah23-Feb-04 23:41
safee ullah23-Feb-04 23:41 
GeneralRe: How to Get property value if it returns BSTR Pin
Inam24-Feb-04 17:26
Inam24-Feb-04 17:26 
GeneralRe: How to Get property value if it returns BSTR Pin
Steve S25-Feb-04 5:52
Steve S25-Feb-04 5:52 
Generalregsvr32 Pin
crewchill23-Feb-04 16:22
crewchill23-Feb-04 16:22 
GeneralFinalize CD via IMAPI Pin
ig_ab23-Feb-04 5:51
ig_ab23-Feb-04 5:51 
GeneralqueryInterface Pin
waliop23-Feb-04 0:57
waliop23-Feb-04 0:57 
GeneralRe: queryInterface Pin
Steve S23-Feb-04 2:18
Steve S23-Feb-04 2:18 
GeneralRe: queryInterface Pin
Big_M24-Feb-04 1:24
Big_M24-Feb-04 1:24 
GeneralCOM DLL Pin
waliop23-Feb-04 0:55
waliop23-Feb-04 0:55 
GeneralRe: COM DLL Pin
Steve S23-Feb-04 2:11
Steve S23-Feb-04 2:11 
QuestionHow can I create a COM hook like DrCOM Monitor? Pin
kenokabe22-Feb-04 21:05
kenokabe22-Feb-04 21:05 
Generaloutlook embedding Pin
emmatty21-Feb-04 23:13
emmatty21-Feb-04 23:13 
GeneralOutlook Addin Pin
chakkaradeepcc19-Feb-04 23:56
chakkaradeepcc19-Feb-04 23:56 
GeneralBSTR * parameter Pin
dzsigit19-Feb-04 0:26
dzsigit19-Feb-04 0:26 
GeneralRe: BSTR * parameter Pin
Steve S19-Feb-04 1:06
Steve S19-Feb-04 1:06 
GeneralRe: BSTR * parameter Pin
dzsigit19-Feb-04 3:52
dzsigit19-Feb-04 3:52 
GeneralRe: BSTR * parameter Pin
Vi219-Feb-04 18:58
Vi219-Feb-04 18:58 

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.