.net - DCOM CoCreateInstanceEx failing -
im writing opc client. create instance of com server on remote server. @ first: setting on remote server right. tested 5 opc-example clients, , working fine. when use cocreateinstance code fails, access denied. think because of:
coauthinfo coauthinfo = new coauthinfo(); coauthinfo.dwauthnsvc = 0; coauthinfo.dwauthzsvc = 0; coauthinfo.pwszserverprincname = intptr.zero; coauthinfo.dwauthnlevel = 0; coauthinfo.dwimpersonationlevel = 1; coauthinfo.pauthidentitydata = intptr.zero; coauthinfo.dwcapabilities = 0;
which constants must write here, anonyoumus access. mean invoke dcom using guid of com server, , name of remote server?
Comments
Post a Comment