Re: win32
| From: | Elizabeth M Smith | Date: | Wed, 03 Sep 2008 20:24:54 +0000 |
| Subject: | Re: win32 | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4269@lists.php.net to get a copy of this message | ||
Harald Thoeny wrote:
> hi,
>
> is there someone using win32 calls ?
>
> i looking for a was to use windows dll's for together with php-gtk.
> some already used it ?
> the proglem ist not php or gtk , its the machanism to call a dll
>
>
> thanks
To call windows dlls you need a PHP extension that can handle it - the
code cweiske showed you uses ffi - available from pecl
You can also make some standard calls through the win32std extension -
also from pecl
Or you can try to find com versions of what you need and use them from
the com/.net extension which is standard with the windows version of PHP
Thanks,
Elizabeth