Hi, For the PHP-GTK project I have created a small wrapper application called php_win.exe. It is used to launch a GTK script without showing the "DOS" box. You can download a copy from http://kromann.info/php-gtk.php and see if it does the trick for you.
- Frank > This requires some Win32 magic in the invoking Win32 program, not in the > generic PHP executable - so your question is somewhat off-topic for this > list (though this may not have been apparent). > > The hint: > > STARTUPINFO si; > memset(&si,0,sizeof(si)); > si.cb = sizeof(si); > si.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW; > si.wShowWindow = SW_HIDE; > > I'd expect you to be able to figure out the rest :). > > -----Original Message----- > From: Adam Voigt [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 9:31 AM > > Is it possible to make the php.exe under > window's fork, so it isn't visible in the > start bar? I ask because I would like to > make a PHP program that runs periodically > in the background, and I know how to start > it at computer start time, but it makes that > damned dos window pop up. There are > external programs to make it be hidden > but they require seperate install's which > makes it not an option. Any ideas? > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php