Re: TCPServer & MSSQL & Threads (Newbie Question)



TheadVar should work


Brian


What about the GlobalVariables, does using the 'ThreadVar' work or
should they also be declared/disposed in the thread?


Mark Moss



"Brian Bushay TeamB" <BBushay@xxxxxxxxx> wrote in message
news:gbqf04ts8m67kg1osmjnk741fqjorf4vbo@xxxxxxxxxx

And do I have to Create the DataModule and all of the components
on
it for each Thread. If not what do I do?

You can create an instance of the datamodule (in the thread) for each
thread or
just create the components you need in the thread.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx


--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: TCPServer & MSSQL & Threads (Newbie Question)
    ... What about the GlobalVariables, does using the 'ThreadVar' work or ... You can create an instance of the datamodule for each ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: how to show that there is a detail record
    ... Brian Bushay TeamB wrote: ... Yes, I want to show it in the same grid, but only something like a bool field that there is a detail dataset available or not. ...
    (borland.public.delphi.database.ado)
  • Re: Problems with Bookmark
    ... Something is very strange here. ... the table and not from the record I click in the DBGrid?? ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: MaxRecords
    ... >> I tested this using the Northwind database and Employees table ... >> MaxRecords I had no problem getting MaxRecords to work. ... >> Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: Pb while closing ADO query
    ... > Search your hard drive and see if you can find multiple copies of this ... > Brian Bushay (TeamB) ... Prev by Date: ...
    (borland.public.delphi.database.ado)