You are here: Re: Hooking server DLL into PHP « PHP Programming Language « IT news, forums, messages
Re: Hooking server DLL into PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация