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 17:09

<chernyshevsky@hotmail.com> wrote in message
news:1115988562.473810.105880@f14g2000cwb.googlegroups.com...
> PHP classes/structs are hash tables. The wrapper has to rebuild the
> structure by searching the table and filling in the elements.
> Unfortunately the manual doesn't say much on this topic. The function
> you need is zend_hash_find() if I remember correctly.

Ok, I kinda of saw this. Wasn't sure if this was the only method. Thanks
for clarifying it.

think I can really fly with this if I can see an example PHP script, lets
say for a simple typedef example:

typedef struct _TFooBar {
BOOL fBoolean;
int iNumber;
char szString[256];
} TFooBar;

What is the PHP script for this? Whats the interface like?

Do I have to expose each field as a Function "Get/Put" like method?

--
Hector Santos, Santronics Software, Inc.
http://www.santronics.com

 

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

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