I have a procedure with local variables, one of which is being 
corrupted after a procedure call.  The variable is passed to this sub-
procedure but as a const.  The variable is not modified in it either.  
Yet, on return the callers local variable is magically changed.  I do 
have all range checking, stack checking options enabled, and the 
sub-procedure does things correctly.

I am mystified.  Especially since it works on all PCs (and has done 
so for 3 years) except for two different PCs with different h/w and 
O/S.

Has anyone struck this before ?  Is it a Delphi bug ?, a windows 
bug ? I am tempted to think it could be a cpu caching problem.


Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to