Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96246 invoked by uid 1010); 29 Sep 2003 09:22:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96222 invoked by uid 1007); 29 Sep 2003 09:22:41 -0000 Message-ID: <20030929092241.96221.qmail@pb1.pair.com> To: internals@lists.php.net References: <20030926104508.27034.qmail@pb1.pair.com> Date: Mon, 29 Sep 2003 10:22:35 +0100 Lines: 42 X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 80.177.224.53 Subject: Re: PHP Extension and Windows Common Dialogs From: peterd@telephonetics.co.uk ("Pete Dishman") Hi, As Frank suggested, I tried using php_win.exe to call my test script with and I still got exactly the same results, namely the dialog boxes would not appear. In my extension I have other functions that wrap things such as the Win32 MessageBox() functions and the 'Browse for a folder' function and these all still work correctly. It is just the calls to GetOpenFileName and GetSaveFileName that have stopped working since I upgraded to PHP 4.3.3 If anyone knows of anything that I could try or of anything significant that has changed since 4.1.1 I would be very grateful as I don't want to have to do without these functions. Cheers, Pete Dishman > Hi Pete, > I don't know why it stopped working, but you can try to use the > php_win.exe wrapper we use with PHP-GTK. Just copy the attached file (or > download it from http://kromann.info/php4-gtk.php) to the directory where > php.exe is installed and then call php_win.exe with your script as a > parameter. > Caling php_win.exe will launch php.exe as a windos process and not as a > command line process. > - Frank