View Single Post
  #2 (permalink)  
Old May 24th, 2006, 01:18 PM
Nick Y Nick Y is offline
Authorized User
Join Date: May 2006
Location: Iver, Bucks., United Kingdom.
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts

I have a similar problem but, unlike you, my addresses are 0012FF54 and 0012FF48 giving a difference of dec 12 when I compile and run the code. (This is with Visual Studio 2005 (version 8.0.50727.42.)

I even tried taking the example code and running it with Visual Studio, in case I had made a typing error.

Interestingly, if I run the same code through my Borland compiler, I get a difference of 4 bytes.

Is this a compiler error in Visual Studio?