Certainly not. Windows gives each user a temp folder under Documents and 
Settings/username which is writable, and is where you should be putting the bde 
lock file and any other temporary resources. If you put the bde lock file on 
their local drive then the TS sessions has to access it over the network, which 
I assume would have a performance hit.

You can use the windows api to get the location of the temp folder for the user:

function GetWindowsTempDir: String;
type
  TDirName = array[0..(MAX_PATH - 1)] of Char;
var
  LTempDir: TDirName;
begin
  GetTempPath(MAX_PATH, LTempDir);
  Result := LTempDir;
end;

Stacey

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sean Cross - CRM
> Sent: Tuesday, 22 November 2005 11:40
> To: [EMAIL PROTECTED]; NZ Borland Developers Group - Offtopic List
> Subject: RE: [DUG-Offtopic] Delphi User Group
> 
> You still have to be a little bit careful, especially if you 
> use the bde.  Security is usually higher so you can't assume 
> write permissions anywhere except on the users drive.  Bde 
> lock file needs to be stored on the users drive.
> 
> Regards
> 
> Sean
> -----------------------------
> Sean Cross
> Systems Development
> 
> CRM
> PO Box 230
> Napier
> Phone:   06 835 5868
> Mobile:  021 270 3466
> Email:   [EMAIL PROTECTED]
> 
> 
>  
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstead
> > Sent: Tuesday, 22 November 2005 11:03 a.m.
> > To: [EMAIL PROTECTED]; NZ Borland Developers Group - Offtopic List
> > Subject: RE: [DUG-Offtopic] Delphi User Group
> > 
> > I happen to develop some client application running on TS. 
> > From what I experienced, each client will get a virtual 
> machine apply 
> > with normal user access rights.
> > 
> > Regards
> > Leigh
> > http://www.salenz.com
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Paul Heinz
> > Sent: Tuesday, 22 November 2005 10:52 a.m.
> > To: NZ Borland Developers Group - Offtopic List
> > Subject: RE: [DUG-Offtopic] Delphi User Group
> > 
> > 
> > Todd asked:
> > 
> > > Does TS/Citrix open a new instance of the desktop
> > application for each
> > > client? So the desktop application does not need to be explicitly 
> > > multi-threaded, unless it accesses a shared resource (ie. 
> database).
> > 
> > Yes, TS opens a new instance for each client and your app 
> doesn't need 
> > to be multi-threaded, whether it accesses a DB or not.
> > 
> > TTFN,
> >   Paul.
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Offtopic mailing list
> > [email protected]
> > http://ns3.123.co.nz/mailman/listinfo/offtopic
> > 
> > 
> > _______________________________________________
> > Offtopic mailing list
> > [email protected]
> > http://ns3.123.co.nz/mailman/listinfo/offtopic
> > 
> > 
> 
> _______________________________________________
> Offtopic mailing list
> [email protected]
> http://ns3.123.co.nz/mailman/listinfo/offtopic
> 

_______________________________________________
Offtopic mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to