BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Strange problem with remote/local DCOM/COM objects.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Kosmo
Guest





PostPosted: Mon Aug 22, 2005 8:06 pm    Post subject: Strange problem with remote/local DCOM/COM objects. Reply with quote



Hi,

I have strange problem with remote/local COM objects.



We develop a DCOM server inside NT Service. Let name of COM object is "A".

The "A" working successfully without any problems.

In the next stage we develop a sample GUI application ("B") which call our
DCOM server "A" remotely (from other PC inside network) by

Example:



var FA: IA;

begin

FA := CoA.CreateRemote(RemoteMachineName);

:

:.



end;



As you see - very trivial.



In the third stage, we develop another COM ("C") object that calls a DCOM
server "A" remotely, COM "C" is handled by DLLHOST and runs with
Administrative rights, and include the same code:



var FA: IA;

begin

FA := CoA.CreateRemote(RemoteMachineName);

:

:.



end;



The problem is that we trying to access DCOM "A" from COM "C", we receive
error - "Interface is not supported!" at
CoA.CreateRemote(RemoteMachineName);



Any suggestions?



Thank you,

--
Iv Kozhuharov





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.