Reply to PHP to a COM object

Your name:

Reply:


Posted by Alex on 11/14/07 09:56

Hello,

I'm trying to use a (remote) COM object from a PHP script (4.4, server has
apache2 win32).

The basics seem to work : I instantiate the COM object ($o = new COM"..."),
then I use two of the objects methods to authenticate. In the meantime a
property called "ProjectConnected", passes from 0 to 1. So I think the
object is correctly instanciated and the connection works.

But now, I'm doing a var_dump on my object and I get this :
object(COM)(1) {
[0]=> resource(127) of type (COM)
}

Arg. I don't understand this and the PHP manual doesnt help either. I would
have expected to get a list of methods/properties. At least the two I use to
authenticate.

var_dump ($obj[0]) returns null.


Could someone explain me more about this ?

Thanks,
--
Alex
[JDR] Visitez Extremia, un monde gratuit et en francais pour D&D et
autres jeux de role.
www.extremia.org

[Back to original 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

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