Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85024 invoked by uid 1010); 30 Sep 2004 13:55:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84882 invoked from network); 30 Sep 2004 13:55:48 -0000 Received: from unknown (HELO linares.terra.com.br) (200.154.55.228) by pb1.pair.com with SMTP; 30 Sep 2004 13:55:48 -0000 Received: from paramonga.terra.com.br (paramonga.terra.com.br [200.154.55.133]) by linares.terra.com.br (Postfix) with ESMTP id 20CC8DDE4F8 for ; Thu, 30 Sep 2004 10:55:47 -0300 (BRT) Received: from escher (ip51005.poa.virtua.com.br [200.213.51.5]) (authenticated user hypervis) by paramonga.terra.com.br (Postfix) with ESMTP id 315503C080 for ; Thu, 30 Sep 2004 10:55:46 -0300 (BRT) Message-ID: <015201c4a6f5$04fa08f0$0c00a8c0@escher> To: Date: Thu, 30 Sep 2004 10:54:33 -0300 Organization: Hypervisual MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: php_win.exe crashes when in a directory with spaces From: pechansky@hypervisual.com ("Rubem Pechansky") Hi folks, When working on a new WinBinder demo, I found out that php_win.exe (for PHP 4, from PHP-GTK) crashes when called from a folder with spaces. For example, c:\PHP\myapp\php_win.exe runs fine, but c:\Program Files\myapp\php_win.exe consistently crashes. This can be a problem for Windows users since the applications path typically has a space. More specifically, php.exe (AppVer: 4.3.9.9) crashes php4ts.dll at offset 000BB8E4 with code 0xC0000005 (EXCEPTION_ACCESS_VIOLATION). I'm using the files from php-gtk-1.0.1a-win32.zip. Interestingly, php.exe always runs perfectly, even on a directory with spaces (although it opens a DOS box, of course). Also, PHP 5 does not have this problem -- but in this case I'm using the file php-win.exe and the others that come with it. Does anybody knows how to find (or build) a version of php_win.exe that won't crash? Many thanks in advance, ------------------- Rubem Pechansky WinBinder - The native Windows binding for PHP http://winbinder.sourceforge.net/ Hypervisual - Advanced Design for IT http://hypervisual.com/