Re: Differences in VC6 and VC9 Windows builds and MSSQL Driver.
| From: | William A. Rowe, Jr. | Date: | Fri, 02 Jan 2009 16:01:23 +0000 |
| Subject: | Re: Differences in VC6 and VC9 Windows builds and MSSQL Driver. | ||
| References: | 1 2 | Groups: | php.doc php.internals |
| Request: | Send a blank email to internals+get-42449@lists.php.net to get a copy of this message | ||
Uwe Schindler wrote:
>
> I am not sure, if VC6 can be dropped easily. E.g. some SAPIs that directly
> map into servers may have problems if using the wrong CRT. Until now, I had
> no time to build up a Windows "Sun Java System Webserver" and test it with
> both CRTs. The code compiles fine on the snaps box, but I am not sure, if
> the DLL loads into the server.
Precisely. Note that httpd 2.4 (.next) will not be compiled with VC6, but
may continue to use msvcrt.dll - if I successfully validate a proper method
(which might rely on some sdk/wdk includes) for continuing to use this
lowest common denominator crt with sources compiled on modern compilers,
I'll be sure to send this feedback in. 99% certain that the classic method
is simply wrong (link32 msvcrt.lib /ignore:msvcrXX.lib) since the correct
clib headers corresponding to msvcrt are required to avoid abi issues.