compling trobles
| From: | Oleg | Date: | Thu, 10 Apr 2003 08:18:46 +0000 |
| Subject: | compling trobles | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3225@lists.php.net to get a copy of this message | ||
Hello people,
I want create exe file with tool PHP compiler
(http://anton.concord.ru/ftp/phpcompiler/phpcompiler.zip).
As i know she can do that.
I have a simple script
<?php
$extension = "php_gtk" . (strpos(PHP_OS, "WIN") >= 0 ? ".dll" :
".so");
dl($extension);
$window = &new GtkWindow();
$window->set_title("Test App");
$window->set_usize(300, 100);
$window->set_position(GTK_WIN_POS_CENTER);
$window->set_policy(false, false, false);
$window->connect("destroy", "killwin");
function killwin()
{
echo("Window Destroyed!\n");
gtk::main_quit();
}
$window->show_all();
gtk::main();
?>
in work what i run it from command line, but it won work with
phpcompiler.
Can any one tell me what i did wrong. What must be versions of
php4ts.dll and php.exe ?
Regards.
--
Best regards,
Oleg mailto:freelancing@inbox.ru