[DUG] Problem with ansistring

Rohit Gupta rohit at cfl.co.nz
Thu Jun 29 10:30:55 NZST 2006


I have a weird problem with this construct.


interface

var
  Proxy_Server : ansistring = '';


In some apps only, it fails in the finalization of the app.  If this is commented 
out or the ansistring is changed to shortstring then its fine.  Unfortunately, I 
cant get my head around the assembler getting executed at that time in vcl's 
finalization code.

Since its global, it stands to reason that it can only be freed in the 
initialization.  But why is there a problem ?

Has anyone else come across this ?

Regards

Rohit

==========================================================
============
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email rohit at cfl.co.nz  or  r.gupta at xtra.co.nz
==========================================================
============




More information about the Delphi mailing list