| View previous topic :: View next topic |
| Author |
Message |
Hamilton Colyer-Long Guest
|
Posted: Tue Jul 20, 2004 6:27 pm Post subject: Register a pooled RDM for use with sockets |
|
|
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
|
Posted: Sat Jul 24, 2004 7:34 pm Post subject: Re: Register a pooled RDM for use with sockets |
|
|
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 |
|
 |
|