RPC, DCOM Client-Server APP, Excel

PLEASE!! I need to make server-client application, there client - excel add-ion. I using DCOM, but there is some problem registering security in client: CoInitializeSecurity(NULL, -1, NULL, NULL, RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE, NULL);
return value - error RPC_E_TOO_LATE, how i can fix this problem. In standallone exe file this problem not occure..

P.S. maybe is another way to create client-server application in excel??
I use sample from http://www.codeproject.com/com/hellotutorial1.asp

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!