php-windows Digest 25 Feb 2010 14:18:00 -0000 Issue 3768
Topics (messages 29938 through 29939):
Re: What about php 5.3 and printers or PHP_PRINTER.DLL ?
29938 by: Pierre Joye
Error compiling php-5.3.1
29939 by: Sachin Srivastava
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
In this case it won't work with impersonate=1.
On Wed, Feb 24, 2010 at 1:36 AM, Louis Solomon <lo...@steelbytes.com> wrote:
> DocumentProperties is probably trying to load some 3rd party printer dll
> extensions. Suggest using procmon.exe and filter for access denied to see
> what is failing
>
> Louis Solomon
> www.SteelBytes.com
>
> -----Original Message-----
> From: Venkat Raman Don [mailto:don.ra...@microsoft.com]
> Sent: Wednesday, 24 February 2010 3:50 AM
> To: rquadl...@googlemail.com
> Cc: Keith Davis; Pierre Joye; Robert; php-wind...@lists.php.net
> Subject: RE: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?
>
> Richard, I tried that. I passed handle returned by OpenPrinter to
> DocumentProperties but same result. It's not that function fails for any bad
> parameter reason. I am getting error number 5 while calling GetLastError()
> which means some sort of access denied. But then why OpenPrinter is going
> through I am not able to understand.
>
> Thanks,
> Don.
>
> -----Original Message-----
> From: Richard Quadling [mailto:rquadl...@googlemail.com]
> Sent: Tuesday, February 23, 2010 1:28 AM
> To: Venkat Raman Don
> Cc: Keith Davis; Pierre Joye; Robert; php-wind...@lists.php.net
> Subject: Re: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?
>
> On 22 February 2010 22:30, Venkat Raman Don <don.ra...@microsoft.com> wrote:
>> DocumentProperties
>
> http://msdn.microsoft.com/en-us/library/dd183576(VS.85).aspx
>
> LONG DocumentProperties(
> __in HWND hWnd,
> __in HANDLE hPrinter,
> __in LPTSTR pDeviceName,
> __out PDEVMODE pDevModeOutput,
> __in PDEVMODE pDevModeInput,
> __in DWORD fMode
> );
>
> If the fMode parameter is zero, the return value is the size of the
> buffer required to contain the printer driver initialization data.
> Note that this buffer can be larger than a DEVMODE structure if the
> printer driver appends private data to the structure.
>
> If the function displays the property sheet, the return value is
> either IDOK or IDCANCEL, depending on which button the user selects.
>
> If the function does not display the property sheet and is successful,
> the return value is IDOK.
>
> If the function fails, the return value is less than zero.
>
> ---------------------------------
>
> No indication upon what the failure is from the call to
> DocumentProperties, but I wonder if supplying Null for the first 2
> parameters is appropriate. The second parameter is probably going to
> have to be the handle returned by OpenPrinter.
>
> But this is just me reading the MSDN pages. I'm no expert! Sorry.
>
> Richard.
> --
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
Hello,
I am compiling php and its giving me this error: (I am using freetype
-2.3.5 )
Generating Code...
rc /fo Release_TS\php5ts.dll.res /d FILE_DESCRIPTION="\"PHP Script
Interpreter\"" /d FILE_NAME="\"php5ts.dll\"" /d PRODUCT_NAME="\"PHP
Script Interpreter\"" /IRelease_TS /d
MC_INCLUDE="\"Release_TS\wsyslog.rc\"" win32\build\template.rc
Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
php_xmlreader.obj : warning LNK4217: locally defined symbol
_php_dom_create_object imported in function _zim_xmlreader_expand
php_xmlreader.obj : warning LNK4049: locally defined symbol
_dom_node_class_entry imported
rc /n /fo Release_TS\php_gd2.dll.res /d FILE_DESCRIPTION="\"GD
imaging\"" /d FILE_NAME="\"php_gd2.dll\"" /d
URL="\"http://www.php.net\"" /d INTERNAL_NAME="\"GD extension\"" /d
THANKS_GUYS="\"Thanks to Rasmus Lerdorf, Stig Bakken, Jim Winstead,
Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger\""
win32\build\template.rc
Creating library Release_TS\php_gd2.lib and object
Release_TS\php_gd2.exp
gdft.obj : error LNK2019: unresolved external symbol __imp__FT_New_Face
referenced in function _fontFetch
gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Done_Face
referenced in function _fontRelease
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Done_FreeType referenced in function _php_gd_gdFontCacheShutdown
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Init_FreeType referenced in function _php_gd_gdFontCacheSetup
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Glyph_To_Bitmap referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Glyph_Get_CBox referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol __imp__FT_Get_Glyph
referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Load_Glyph referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Get_Kerning referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Get_Char_Index referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Set_Transform referenced in function _php_gd_gdImageStringFTEx
gdft.obj : error LNK2019: unresolved external symbol
__imp__FT_Set_Char_Size referenced in function _php_gd_gdImageStringFTEx
Release_TS\php_gd2.dll : fatal error LNK1120: 12 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.exe"' : return code '0x2'
Stop.
Compilation of php failed
Please suggest, so that i can move forward with this.
--
Regards,
Sachin Srivastava
EnterpriseDB <http://www.enterprisedb.com>, the Enterprise Postgres
<http://www.enterprisedb.com> company.
--- End Message ---