Click here to Skip to main content
15,844,673 members
Home / Discussions / COM
   

COM

 
QuestionC++ COM EventHandler: How to catch COM events from Delphi COM Server / VC6 Pin
ipforce30-Mar-09 5:57
ipforce30-Mar-09 5:57 
AnswerRe: C++ COM EventHandler: How to catch COM events from Delphi COM Server / VC6 Pin
Jonathan Davies2-Apr-09 6:32
Jonathan Davies2-Apr-09 6:32 
GeneralRe: C++ COM EventHandler: How to catch COM events from Delphi COM Server / VC6 Pin
ipforce2-Apr-09 7:08
ipforce2-Apr-09 7:08 
GeneralRe: C++ COM EventHandler: How to catch COM events from Delphi COM Server / VC6 Pin
ipforce2-Apr-09 7:59
ipforce2-Apr-09 7:59 
QuestionUpdating Resource Pin
sumedh_code30-Mar-09 1:55
sumedh_code30-Mar-09 1:55 
QuestionAccess Denied in VC++ COM Pin
RevathiRamakumar30-Mar-09 1:20
RevathiRamakumar30-Mar-09 1:20 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz30-Mar-09 4:35
Roger Stoltz30-Mar-09 4:35 
GeneralRe: Access Denied in VC++ COM [modified] Pin
RevathiRamakumar30-Mar-09 20:39
RevathiRamakumar30-Mar-09 20:39 
Hi.. Thanks for the help extended...I have added oleautomation...its an ordinary Interface.. I tried ur suggestion.. But,in the following code I get error ...

BSTR* pbstrTheBeat = NULL;
hr = pGetStatus->GetBeat(pbstrTheBeat);

C2660: 'Get_Beat' : function does not take 1 parameters

The prototype and the definition are similar and they just return a single value only..And also the intelligence shows me two methods ie
1.HRESULT raw_Get_Beat(BSTR*) and
2._bstr_t GetBeat().
When I use hr = pGetStatus->raw_Get_Beat(pbstrTheBeat) I dont get any error..But, HRESULT fails..
Why is that so?I dont understand...Can u please help me..
Thank u..

modified on Tuesday, March 31, 2009 2:33 AM

AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz30-Mar-09 23:17
Roger Stoltz30-Mar-09 23:17 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar30-Mar-09 23:46
RevathiRamakumar30-Mar-09 23:46 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 0:04
Roger Stoltz31-Mar-09 0:04 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar31-Mar-09 0:10
RevathiRamakumar31-Mar-09 0:10 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 0:13
Roger Stoltz31-Mar-09 0:13 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar31-Mar-09 0:16
RevathiRamakumar31-Mar-09 0:16 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar31-Mar-09 0:56
RevathiRamakumar31-Mar-09 0:56 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 4:17
Roger Stoltz31-Mar-09 4:17 
QuestionRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 4:17
Roger Stoltz31-Mar-09 4:17 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar31-Mar-09 19:32
RevathiRamakumar31-Mar-09 19:32 
GeneralRe: Access Denied in VC++ COM Pin
Roger Stoltz1-Apr-09 7:08
Roger Stoltz1-Apr-09 7:08 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar1-Apr-09 19:11
RevathiRamakumar1-Apr-09 19:11 
QuestionRe: Access Denied in VC++ COM Pin
Roger Stoltz1-Apr-09 23:57
Roger Stoltz1-Apr-09 23:57 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar2-Apr-09 0:33
RevathiRamakumar2-Apr-09 0:33 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar8-Apr-09 2:17
RevathiRamakumar8-Apr-09 2:17 
AnswerRe: Access Denied in VC++ COM Pin
Vi21-Apr-09 22:20
Vi21-Apr-09 22:20 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar2-Apr-09 0:38
RevathiRamakumar2-Apr-09 0:38 

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.