Click here to Skip to main content
15,905,686 members
Home / Discussions / COM
   

COM

 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz30-Mar-09 23:04
Roger Stoltz30-Mar-09 23:04 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar30-Mar-09 23:10
RevathiRamakumar30-Mar-09 23:10 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz30-Mar-09 23:13
Roger Stoltz30-Mar-09 23:13 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar30-Mar-09 23:16
RevathiRamakumar30-Mar-09 23:16 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar30-Mar-09 23:56
RevathiRamakumar30-Mar-09 23:56 
AnswerRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 3:17
Roger Stoltz31-Mar-09 3:17 
QuestionRe: Access Denied in VC++ COM Pin
Roger Stoltz31-Mar-09 3:17
Roger Stoltz31-Mar-09 3:17 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar31-Mar-09 18:32
RevathiRamakumar31-Mar-09 18:32 
Thanks for ur reply..Actually I couldn't call any of the methods in the interface..Whenever I try to call any of these methods I get Access denied exception...
HRESULT hr1;
hr1 = pGetStatus->raw_Get_Beat(&pbstrTheBeat);//This raises Access Denied
/*BSTR does not point to a valid String..It shows 0xc000000 */
if( SUCCEEDED( hr1 ) )
{
AfxMessageBox("Text");
}
else
{
_com_error e(hr1);
AfxMessageBox(e.ErrorMessage());
}
}
catch(_com_error e)
{
AfxMessageBox(e.ErrorMessage(),MB_ICONSTOP);//This tells me ACCESS IS DENIED
}
I tried to debug..Actually the purpose is that I need to get the CPU and Memory usuage of a Server machine which is remote..I wanted to try it on a local machine first and then to implement on a remote machine..But, in the local machine itself I get Access Denied..Can u please tell me how to solve this...Thank u in advance...
GeneralRe: Access Denied in VC++ COM Pin
Roger Stoltz1-Apr-09 6:08
Roger Stoltz1-Apr-09 6:08 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar1-Apr-09 18:11
RevathiRamakumar1-Apr-09 18:11 
QuestionRe: Access Denied in VC++ COM Pin
Roger Stoltz1-Apr-09 22:57
Roger Stoltz1-Apr-09 22:57 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar1-Apr-09 23:33
RevathiRamakumar1-Apr-09 23:33 
AnswerRe: Access Denied in VC++ COM Pin
RevathiRamakumar8-Apr-09 1:17
RevathiRamakumar8-Apr-09 1:17 
AnswerRe: Access Denied in VC++ COM Pin
Vi21-Apr-09 21:20
Vi21-Apr-09 21:20 
GeneralRe: Access Denied in VC++ COM Pin
RevathiRamakumar1-Apr-09 23:38
RevathiRamakumar1-Apr-09 23:38 
GeneralRe: Access Denied in VC++ COM [RESOLVED] Pin
RevathiRamakumar8-Apr-09 1:08
RevathiRamakumar8-Apr-09 1:08 
QuestionHow do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er27-Mar-09 0:32
raven8er27-Mar-09 0:32 
AnswerRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
«_Superman_»28-Mar-09 18:20
professional«_Superman_»28-Mar-09 18:20 
GeneralRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er29-Mar-09 22:35
raven8er29-Mar-09 22:35 
AnswerRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er29-Mar-09 22:34
raven8er29-Mar-09 22:34 
QuestionHelp with serial scanner to PC connection? Pin
TonyTrokodero26-Mar-09 9:05
TonyTrokodero26-Mar-09 9:05 
AnswerRe: Help with serial scanner to PC connection? Pin
«_Superman_»28-Mar-09 18:23
professional«_Superman_»28-Mar-09 18:23 
QuestionActiveX in IE Pin
Member 471608725-Mar-09 20:54
Member 471608725-Mar-09 20:54 
QuestionAsserting in afxwin1.inl Line: 29 Pin
vibindia24-Mar-09 20:57
vibindia24-Mar-09 20:57 
AnswerAlmost impossible to tell Pin
Baltoro29-Mar-09 10:55
Baltoro29-Mar-09 10:55 

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.