 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mauro Tronto Guest
|
Posted: Thu Feb 02, 2006 1:08 am Post subject: DCOM events WindowsXP SP2 |
|
|
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 |
|
 |
|
|
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
|
|