🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1337

TSocketConnection in a thread

#1337
From: Stefan Rosehr
Date: Sun, 21 Nov 1999 00:00
23 lines
1194 bytes
We are currently using BCB3 and would like to change to BCB4. We develop a
multi-tier DB Application using TMidasConnection with ctSockets.

In BCB4 we replaced that with TSocketConnection. But there is one major
problem.

On the client side the TSocketConnection(s) are established within a thread
and the pointer is passed by "Synchronize" to the MainThread. In BCB3 that
worked fine. But in BCB4 it does'nt.

When calling a AppServer Function

e.g. dbCon->AppServer.Exec( Function( "StartTransaction"));
(where dbCon is TSocketConnection*)

within a different than the "creation" thread the appropriate thread
"hangs".

Any suggestions.

Stefan

srosehr@edvs.de
Technical Details
Message-ID: <818siu$a2n2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,77e56afcbc3ef4a7,start
X-Google-Attributes: gidfcd2b,public
From: "Stefan Rosehr" <srosehr@edvs.de>
Subject: TSocketConnection in a thread
Date: 1999/11/21
Message-ID: <818siu$a2n2@forums.borland.com>
X-Deja-AN: 551244084
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.cppbuilder.database.multi-tier