InterlockedIncrement



How can i read a value that i use the Interlocked* functions on ?
I'm affraid the delphi compiler might reorder reads or somethign like this
because i'm seeing some weird results.


.