Re: win32

[email protected] (Elizabeth M Smith)
Newsgroups php.gtk.dev
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.