Reply to Re: PHP to a COM object

Your name:

Reply:


Posted by Alex on 11/14/07 16:28

"Steve" <no.one@example.com> wrote in message
news:LsE_i.19$wL7.17@newsfe07.lga...
> as in, you're a beginner to VB or, a beginner to php?

to COM :) and I havent touched VB since..... Win 3.11. :) I've been coding
in PHP for almost 10 years, but never had to use COM.

> i'd create a component if you need to break this and other com objects
> apart like this.
>
> if you're using vb classic (the crusty old version), there are several
> free and well written libraries that can expose any com object's
> interfaces...including types, params, etc.
>
> if you're using vb.net, use it's reflection capabilities to do the same.
> give your vb app the path to the dll, let it create it, and then go about
> discovering its make-up.
>
> either way, compile it to a com object to make it accessible to php. btw,
> if using vb.net, you don't have to create in php the object being exposed.
> your reflection-enabled com object can not only break-down the interfaces
> for you, but you can also put 'invoke' methods on your object which defers
> to the interface of the child object being exposed to php. make sense?

The object is already compiled. It's from a software vendor. I meant to say
that I have doc with the object, but all the examples of object usage are in
VB, which I have long forgotten. They use lists, for example all around the
place, and I don't remember how to translate this to PHP :)

--
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

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