Re: Re: [PHP-GTK] timeout_add () crashes in Windows
| From: | Steph | Date: | Thu, 10 Oct 2002 11:14:56 +0000 |
| Subject: | Re: Re: [PHP-GTK] timeout_add () crashes in Windows | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2528@lists.php.net to get a copy of this message | ||
more to the point, which version of PHP are you running?!
----- Original Message -----
From: "Hakan Kuecuekyilmaz" <hakan@lisas.de>
To: "Sebastian Kapp" <lasheimok@web.de>
Cc: <php-gtk-general@lists.php.net>
Sent: Thursday, October 10, 2002 9:55 AM
Subject: Re: Re: [PHP-GTK] timeout_add () crashes in Windows
> which version of php-gtk are you running?
>
> Zitiere Sebastian Kapp <lasheimok@web.de>:
>
> > Hakan Kuecuekyilmaz <hakan@lisas.de> schrieb am 10.10.02 10:57:12:
> > > Hello,
> > >
> > > the script does not crash on my box, win2k.
> >
> > I tried with two win me boxes, same thing.
> >
>
> > > > Linux but crashes in Windows:
> > > >
> > > > <?php
> > > >
> > > > if (!class_exists('gtk')) {
> > > > if (strtoupper(substr(PHP_OS, 0,3) == 'WIN'))
> > > > dl ('php_gtk.dll');
> > > > else
> > > > dl ('php_gtk.so');
> > > > }
> > > >
> > > > function bla () {
> > > > echo ".\n";
> > > > return 1;
> > > > }
> > > >
> > > > gtk::timeout_add (100, "bla");
> > > > gtk::main();
> > > >
> > > > ?>
> > > >
> > > >
> > > > If bla () returns 0, the function is executed flawlessly and
> > everything
> > > > is ok, but if it returns 1 to indicate that is should be
executed
> > again,
> > > > in Windows it crashes with a window saying php caused an error
in
> > > > <unknown>.
> > > >
> > > >
>
> --
> Hakan Kuecuekyilmaz, University of Applied Sciences Esslingen Germany
> <hakan@lisas.de>
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: webmail.fht-esslingen.de
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>