BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DCOM events WindowsXP SP2

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Mauro Tronto
Guest





PostPosted: Thu Feb 02, 2006 1:08 am    Post subject: DCOM events WindowsXP SP2 Reply with quote



How can I implement a COM server and expect to support remote activation by
a non-administrative COM client or remote unauthenticated calls in WindowsXP
service pack 2?

How can I call "Advise" method from unauthenticated client in
ConnectionPoint scenario (callback)without having "Access denied" return
code?

Example:

TComInterface< IConnectionPointContainer, &IID_IConnectionPointContainer >
cpc;
OLECHECK( p->QueryInterface( IID_IConnectionPointContainer,
(void**)&cpc ) );

TComInterface< IConnectionPoint, &IID_IConnectionPoint > cp;
OLECHECK( cpc->FindConnectionPoint( DIID_ITestEvents, &cp ) );

DWORD wCookie;
OLECHECK( cp->Advise( pk, &wCookie ) ); // ACCESS DENIED (if I check
ANONYMOUS user for REMOTE ACCESS everithink is right)

Thanks in advance for any help
Mauro Tronto
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.