.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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -