CubicDesign wrote:
[]
> I just wanted to create a piece of code that is supposed to crash (AV)
> the program.
[]
> I will repeat the initial conditions: brand new Delphi, no update, no
> IDE experts, brand new Windows XP SP2 (with updates) but no other
> programs. Also: if I disable Compiler Optimization, the application
> works as expected (access violation).
> 
> Thanks.

Perhaps the Delphi compiler is intelligent enough to elimiate the object?

How about:

  ShowMessage  (IntToStr (Pword (nil)));

or soemthing like that?

Cheers,
David
-- 
SatSignal software - quality software written to your requirements
Web:  http://www.satsignal.eu
Email:  [EMAIL PROTECTED]

_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to