Re: Windows COM

From: Date: Mon, 05 Jun 2006 11:50:27 +0000
Subject: Re: Windows COM
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6974@lists.php.net to get a copy of this message
wow, thanks for the pointers, guys. i am happy to know there's lots of great responsive help here. i'll make up a project for myself and in trying to hack it out i'll come up with more specific questions. i warn you in advance that they're going to be embarrassingly basic (more embarrassing for you in a who-let-THIS-guy-in kind of way ;-) cheers! Steph Fox <steph@zend.com> wrote: Hi 'Norm', Really not sure what you're looking for here. If you want to bind to existing library functions there's the com_dotnet extension, which is built-in by default in the win32 PHP distribution. That gives access to, well, COM and DCOM. There's pecl/ffi, which is woefully under-documented but has the advantage of being cross-platform. See http://pecl.php.net/package/ffi. If you're writing a new app, _only_ want to work with Windows, and are very sure you won't need it to be cross-platform at some later point, you'll probably want to look at WinBinder. See http://pecl.php.net/package/WinBinder and also http://www.hypervisual.com/winbinder/, which is a bit more informative. PHP-GTK basically is a PHP wrapper for the GTK+ libraries, i.e. it has a full cross-platform API 'inside'. There are pics in the manual these days, have a browse and see if it's the kind of thing you're looking for: http://gtk.php.net/manual/en/tutorials.php is a good place to start. It doesn't allow you to communicate directly with the underlying platform, though, obviously. It's possible to use combinations, e.g. you could use PHP-GTK alongside ffi or com_dotnet... - Steph ----- Original Message ----- From: "Norm de Plume" To: Sent: Friday, June 02, 2006 7:37 PM Subject: [PHP-GTK] Windows COM > Newbie wants to know where he can find some info on how to fiddle with > Windows applications via COM. Can I use gtk-php to be the frontend for > php-as-shell-script on Windows? > > (I hope that makes some sort of sense) > > Thanks, > > Norm __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.gtk.general (#6974) next »