Article View: borland.public.cppbuilder.database.multi-tier
Article #972DCOM/TCPIP Connection troubles ....
From: Nick Rambarransingh
Date: Mon, 24 Jul 2000 00:00
Date: Mon, 24 Jul 2000 00:00
36 lines
1829 bytes
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 ...
Technical Details
Message-ID:
<397C77F6.A24F77D@Momentum.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,ad6b9bdc1e01d282,start X-Google-Attributes: gidfcd2b,public From: Nick Rambarransingh <NRambarr@Momentum.com> Subject: DCOM/TCPIP Connection troubles .... Date: 2000/07/24 Message-ID: <397C77F6.A24F77D@Momentum.com> X-Deja-AN: 650194524 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 24 Jul 2000 10:02:26 -0800, 216.95.243.18 MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier