Click here to Skip to main content
15,850,919 members
Home / Discussions / COM
   

COM

 
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 
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 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 
GeneralRe: Access Denied in VC++ COM [RESOLVED] Pin
RevathiRamakumar8-Apr-09 2:08
RevathiRamakumar8-Apr-09 2:08 
QuestionHow do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er27-Mar-09 1:32
raven8er27-Mar-09 1:32 
AnswerRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
«_Superman_»28-Mar-09 19:20
professional«_Superman_»28-Mar-09 19:20 
GeneralRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er29-Mar-09 23:35
raven8er29-Mar-09 23:35 
AnswerRe: How do I programmatically change the Configuration Permissions on a DCOM Object? Pin
raven8er29-Mar-09 23:34
raven8er29-Mar-09 23:34 
QuestionHelp with serial scanner to PC connection? Pin
TonyTrokodero26-Mar-09 10:05
TonyTrokodero26-Mar-09 10:05 
AnswerRe: Help with serial scanner to PC connection? Pin
«_Superman_»28-Mar-09 19:23
professional«_Superman_»28-Mar-09 19:23 
QuestionActiveX in IE Pin
Member 471608725-Mar-09 21:54
Member 471608725-Mar-09 21:54 
QuestionAsserting in afxwin1.inl Line: 29 Pin
vibindia24-Mar-09 21:57
vibindia24-Mar-09 21:57 
AnswerAlmost impossible to tell Pin
Baltoro29-Mar-09 11:55
Baltoro29-Mar-09 11: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.