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 

Register a pooled RDM for use with sockets

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Hamilton Colyer-Long
Guest





PostPosted: Tue Jul 20, 2004 6:27 pm    Post subject: Register a pooled RDM for use with sockets Reply with quote



The pooler demo that comes with Delphi7 uses a DCOMConnection and works
nicely. However, replacing the DCOM connection with a SocketConnection
results in attempts to connect to the server producing an 'object not
registered' error. The UpdateRegistry code in the remote data module seems
to be insufficient to register the server.

Has anyone fixed this code?

Searching this newsgroup shows me that other people have asked this
question, but I can't find any answers. I will be very grateful for
assistance on this.

Regards,

Hamilton Colyer-Long
Janusys


Back to top
Hamilton Colyer-Long
Guest





PostPosted: Sat Jul 24, 2004 7:34 pm    Post subject: Re: Register a pooled RDM for use with sockets Reply with quote



I could really use some help on this one.

My last post should have mentioned that it is the Borland Socket Server that
is not recognizing the server. If I disable 'registered object only' in the
socket server then the pooler client connects to the server. DCOMConnections
also work. Obviously some part of the registration is working.

My application must use sockets, and I do not want to enable unregistered
connections through the socket server.

Notes:
* The data module in the pooler demo does have the UpdateRegistry procedure
that calls EnableSocketTransport - that is supposed to register the app with
the socket server right?.
* Using /REGSERVER or tregsvr.exe makes no difference

Has anyone developed a pooled server that registers itself properly?
Is there another way of creating an apartment threaded server that does
work?

Regards,

Hamilton Colyer-Long
Janusys


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) 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.