
Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
> Hi Arnaud!
Hello Jochen,
> > The good question being : where has it been fixed? In the compiler or in the
> > ..NET runtime ;-)
[quoted text clipped - 7 lines]
> framework team discussed who should solve the problem (and then they
> forgot to solve it :-) )
Yep : that's why I ask the question ;-)
> The CLR team said the "bool(ean)" is 4 bytes and the C++-teams says
> "bool" is 1-byte.
> And I think it was hard for the C++-team to change the size of bool from
> 1 to 4 ;-)
What is really strange (with framework 1.0 and 1.1) is that, during the
transition return from unmanaged to managed, if the 3 upper bytes of
EAX are !=0, then the framework sets EAX=0x1 (at least, it is how I
have understood the problem...)
Arnaud
MVP - VC
Jochen Kalmbach [MVP] - 26 Oct 2005 09:45 GMT
Hi adebaene
> What is really strange (with framework 1.0 and 1.1) is that, during the
> transition return from unmanaged to managed, if the 3 upper bytes of
> EAX are !=0, then the framework sets EAX=0x1 (at least, it is how I
> have understood the problem...)
Thats not strange, thats the conversion from "4-byte-value" to
"System::Boolean"...

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/