|
Posted by Steve on 11/14/07 15:26
"Alex" <d_keyoke@hotmail.com> wrote in message
news:473afd55$0$6169$426a74cc@news.free.fr...
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:a9qdnbh_IexubqfanZ2dnUVZ_gidnZ2d@comcast.com...
>
>> This is correct; this is an external resource in PHP.
>>
>> AFAIK, the only way you can get a list of properties and methods of a COM
>> object is if the COM object itself supports such a request.
>
> OK, I get it ! Is there a standard/usual way to get the list of
> methods/properties that are published ? I don't have much documentation
> about the object I want to target (and examples are in VB - not very
> useful to me as a beginner).
as in, you're a beginner to VB or, a beginner to php?
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?
Navigation:
[Reply to this message]
|