Hi Pierre,

Going forward this might be a good idea, but there needs to be a good amount of testing. I have ran into an issue recently running apps built with VS 2005 using dynamically linked libraries built with older versions due to different runtime linking, which did make me think of this specific issue. Seeing that there are a crap load of third part dlls, things will need some extensive testing.

The issue I saw was due to the fact that the application (built with 2005) created a FILE * using fopen. This was passed to a dll, which called fwrite (built with an older version). fwrite() was called within msvcrt8, while fopen was called within msvcrt causing a crash due to the use of different runtimes.

Of course the FILE * probably should have been obtained from the dll (API permitting), but there is a good potential for similar issues with the number of libraries around and the fact that they can no longer rely on always being called from msvcrt like they could in the old days.

Rob

Pierre wrote:
Hi,

One important thing we forgot to discuss is to drop VS6 support fin
5.3 and finally move to VS2005.

It has a couple of side effects but it is a one time job and should
make our life easier on windows from 5.3 and up.

Comments?

Cheers,
--Pierre


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to