From: David Lowndes on
>> Most likely because of /Ox.
>>
>> Try disabling optimisation and see if that makes a difference.
>
>Hum, I am not sure I want to do away with this setting.

You probably won't - but all I'm saying is try it and see what
difference it makes.

An optimised build may well not have all the local variables - some
things may only exist in registers.

Dave