Pure does not, but code compiled with /clr:safe should. It should generate
code that can run on any platform conforming to the CLI spec.
This is very similar to C# (for the 32/64 bit part at least). If you use
unsafe C#, you are very likely to be generating code that does not work on
both platforms.
Ronald Laeremans
Visual C++ team
> Just a silly question:
> If I understand correctly pure C# compiled as Win32 will run as Win64
[quoted text clipped - 7 lines]
> It would be nice to have 1 executable that run on Win32, Win64 and Linux
> without need to recompile.
Olaf Baeyens - 07 Oct 2004 11:12 GMT
> Pure does not, but code compiled with /clr:safe should. It should generate
> code that can run on any platform conforming to the CLI spec.
>
> This is very similar to C# (for the 32/64 bit part at least). If you use
> unsafe C#, you are very likely to be generating code that does not work on
> both platforms.
Thanks