🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Nick Rambarransingh Mon, 24 Jul 2000 00:00
DCOM/TCPIP Connection troubles ....
#972
Author: Nick Rambarransingh
Date: Mon, 24 Jul 2000 00:00
36 lines
1829 bytes
Good Day All,

  I have built a very simple distributed app as follows:

SERVER:
1 Created App
2 Added a Remote Data Module to the Application.  Placed a TQuery, and a
DataSetProvider on the module.
3 I include the DataModule header ONLY to the source of the project.  I
noticed that there are 2 other header I could include, tlb and atl, but
I leave those alone.
4 Compiled and Linked the App.
- I keep getting the warning "P is assigned a valued that is never
used".  This is coming from the atlvcl.h file.  I don't know what to do
about that.

CLIENT:
1 Created a simple app.  Placed a datasource and a dbgrid
2 Added a regular DataModule to the app.
3 Placed a TCPIPConnection and ClientDataSet object on the module.

Here is where the problem starts.

- If I try to fillout the Connection object and, and set Connect=TRUE,
all is OK.  As soon as I try to set Connect=FALSE, I get a codeGuard
error.  I have no clue what to do about that.  I noticed that this
happens even if I use a DComConnection object.

- Also, I noticed that when in design mode, when I drop down the list of
servername, I see a list of all previously created tests, and hacking
that I have ever done.  How do I clear this list ?

Please help.

Thanks, Nick
Borland Forever ...
Re: DCOM/TCPIP Connection troubles ....
#980
Author: Harold Howe (TeamB)
Date: Thu, 27 Jul 2000 00:00
12 lines
1122 bytes
> - Also, I noticed that when in design mode, when I drop down the list of
> servername, I see a list of all previously created tests, and hacking
> that I have ever done.  How do I clear this list ?

This is the only answer that I am competent enough to answer.

You need to run the servers and pass them the /unregister command line switch. This
should clear the COM gook from the registry. Ok, so what if you don't have the exe's
any more? Uh... in that case, I think you need to edit the registry manually.

Harold Howe [TeamB]
http://www.bcbdev.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads