template.rc uses winres.h rather than winresrc.h
Hi.
The instructions to use winres.h are quite old.
There is no need to change winresrc.h to winres.h
Patch supplied.
Work Item Details
Original CodePlex Issue: Issue 14042 Status: Closed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Sep 3, 2009 at 2:25 PM Reported by: RQuadling Updated on: Jul 17, 2010 at 8:06 PM Updated by: AshayC Closed on: Jul 17, 2010 at 8:06 PM
Plaintext Attachments
On 2009-09-03 22:45:25 UTC, RQuadling commented:
Without the patch, following the instructions at http://wiki.php.net/internals/windows/stepbystepbuild results in an error ...
C:\php-sdk\php_53dev\vc9\x86\PHP_5_3>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. rc /fo Release\php_sqlsrv.dll.res /d FILE_DESCRIPTION=""SQL Server Driver for PHP 1.1 August 2009 CTP"" /d FILE_NAME=""php_sqlsrv.dll"" /d PRODUCT_NAME=""PHP php_sqlsrv.dll"" /d THANKS_GUYS="""" ..\pecl\SQLSRVPHP\template.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 Copyright (C) Microsoft Corporation. All rights reserved.
..\pecl\SQLSRVPHP\template.rc(18) : fatal error RC1015: cannot open include file 'winres.h'.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\rc.EXE"' : return code '0x1'
Stop.
C:\php-sdk\php_53dev\vc9\x86\PHP_5_3>