Alexandre Julliard skrev:
Ove Kaaven ovek@arcticnet.no writes:
Alexandre Julliard skrev:
It depends if MSVC respects that ABI constraint or not.
Only if you want to make Wine depend on the compiler used to compile Windows applications. Not all of them are called "MSVC". I know Borland Delphi is used by some these days, and its ABI expectations might be different.
All other Windows compilers have to respect the ABI as defined by MSVC, if only because all the system dlls are built with MSVC.
Well, we don't really know how the system dlls are built, they could have different compiler flags and pragmas than the msvcrt, just to protect them against this sort of thing (I doubt a system like Delphi would really need msvcrt, so it wouldn't have to conform to the MSVC ABI, it'd just have to not crash the system DLLs). I don't know, but it's a possibility I wouldn't dismiss out of hand.