Posted by hector on 05/13/05 15:08
Maybe you can tell me this, because it isn't quite clear in the docs and I
have yet to find an example.
If I have a API function with a pointer to a structure:
BOOL WINAPI foobar(Tfoobar &foo);
How does a PHP SCRIPT create the TFooBar structure? Is there a "Type"
keyword in PHP?
I am looking at the PHP source EXT folder with all the various modules and I
do see some that are using structures, but I don't see how it is used via a
PHP script.
Thanks
<chernyshevsky@hotmail.com> wrote in message
news:1115965767.838262.228310@f14g2000cwb.googlegroups.com...
> The is a PHP extension cakked win32 that lets you call functions in DLL
> directly from PHP code. If's not terribly reliable however. PHP also
> can also chandle COM objects. Creating an automation interface is not
> trivial though; and COM trhouhg PHP like rather flakey. You will like
> spend less time writing the wrapper via the standard extension
> mechanism.
>
Navigation:
[Reply to this message]
|