|
Posted by Steve on 11/14/07 17:26
"Alex" <d_keyoke@hotmail.com> wrote in message
news:473b2213$0$20126$426a74cc@news.free.fr...
> "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.
that wasn't the point i was making above...at all. however, no need to get
into that since that suggestion isn't your intended purpose.
> 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 :)
so, you know the object's interfaces...just not how to code it in php? same
way as any other object...
$o->interface;
$o->interface(param);
etc.
am i missing something?
Navigation:
[Reply to this message]
|