Hello Andi,

  most struct sizes do not matter in the windows API (becasue it takes care
of that). The problem actually lies in the POSIX stuff and the modified
stuff as well as the new *_r() and *_l() and what not functions that do not
exist in the older functions. A thing that hurts first is the memory
allocation. Basically this boils down to that you have to bind statically
and may not share any malloc block to get freed in the other code. Between
VC6, 2002, 2003, 2005 I had various attempts of getting cross build
libs/binaries work and never had real success (and don't ask why I tried it).

marcus

Thursday, October 4, 2007, 1:14:45 AM, you wrote:

> Although it may work for you with your applications unless all of your
> 3rd party libs are compiled with VS 2005 there's a fair chance that
> you'll have issues when data structures are passed between PHP which is
> compiled against one CRT lib to DLLs which were compiled with older
> versions (different size of structures, etc...)

>> -----Original Message-----
>> From: Nuno Lopes [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 03, 2007 2:35 PM
>> To: Pierre; Marcus Boerger
>> Cc: PHP Internals List; Rob Richards; Frank M. Kromann; Edin
>> Kadribasic; Dmitry Stogov
>> Subject: Re: [PHP-DEV] VS 2005 Support for 5.3?
>> 
>> > I already use 2k3 to compile my binaries or to develop, it works
>> > pretty well. The 2k5 brings more change and require a couple of
>> > important changes in our build (like the manifest support or what
>> > other describe in this thread).
>> 
>> Uhm I use VS 2005 to build PHP (vanila) for quite some time and it
>> works
>> pretty well. I even use some of Edin's compiled libraries.
>> Disclaimer: I don't use those binaries in production. I only use them
>> to
>> debug PHP bugs on windows
>> 
>> Nuno
>> 
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php



Best regards,
 Marcus

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

Reply via email to