"NotCpiP" <No*****@discussions.microsoft.comwrote in message
news:89**********************************@microsof t.com...
>
Thanks a lot! You guys are great!
Well, the answer of Ben won't help you, this "GetCurrentTeb" function no longer exists on
X64, after all it's an undocumented function, so IMO not better than roll your own.
Another point is that inline asm is not available in VC++ 64 bit mode, you need to implement
such functions in standalone asm.
Not sure why you need to get at the TEB, but if you need to access the TLS, you'll have to
call TlsGetValue (see winintrl.h).
Willy.