Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


DCOM - Access Is Denied

This topic is 6158 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there, im currently doing an application that requires DCOM but keep getting the Access Is Denied error The app is as follows A Windows Executable with an Automated COM object done in delphi 5 - created in the following way New Application Add New -> ActiveX -> COM Object ( this is marked as OleAutomation) Method created in type library editor Application Compiled The application is copied onto the remote computer and executed to register the com interface. I then run DCOMCNFG.EXE and set the security access for everyone to Full Control ,and have also set Full Control to everyone on the directory the executable resides in. I then try to create the object using function TdmGCCMain.CheckConnection: Boolean; var ..oServerChecker: IRemoteServerExecutor; ..iRunning: Integer; begin ..oServerChecker := CoIRemoteServerExecutor.CreateRemote(g_ServerName); ..oServerChecker.QueryIsRunning(iRunning); ..Result := iRunning <> 0; end; if g_servername is my machine name the com object is created and everything works ok but if it is the remote machine then i get access is denied. Hope it makes sense. Thanks in advance Mark

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!