🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Stefan Rosehr Sun, 21 Nov 1999 00:00
TSocketConnection in a thread
#1337
Author: 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
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