Re: PHP Extension and Windows Common Dialogs
| From: | Pete Dishman | Date: | Mon, 29 Sep 2003 09:22:35 +0000 |
| Subject: | Re: PHP Extension and Windows Common Dialogs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4604@lists.php.net to get a copy of this message | ||
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