|
Posted by Vince Morgan on 04/25/07 13:48
"Steve" <no.one@example.com> wrote in message
news:ukIXh.9$lU3.1@newsfe04.lga...
>
> "Vince Morgan" <vinhar@REMOVEoptusnet.com.au> wrote in message
> news:462f0220$0$22843$afc38c87@news.optusnet.com.au...
> | "Rιmy Sanchez" <thenux@gmail.com> wrote in message
> | news:1177446592.987028.210940@n35g2000prd.googlegroups.com...
> | Hello,
> | I'm trying to use MSCOMM32.OCX, but I got an error "Fatal error:
> | Uncaught exception 'com_exception' wih message 'Failed to create COM
> | object 'MSComm32.OCX' : Incorrect syntax'
> |
> | The OCX is present on the system and I could succesfully use it
> | through visual basic. Any clue ?
> |
> | Regards,
> | Rιmy
> | The interfaces are not something php would understand.
>
> actually, the interfaces are com...so php can understand them.
Hmmm!!! that's very interesting :)
I had no idea whatsoever. Must look into that further.
>
> | However, it would be
> | quite possible to wrap them within a c/c++ dll.
>
> first, he's using mscom32.ocx. that means he's still developing in vb
> classic...errr... vb < .net. there are very few in that genre that have
ever
> delved into c/c++. otherwise, he'd be able to create a com port controller
> dll in about .5 hours. :)
>
> | Not too hard to do if you
> | use ATL and know a little about com interfaces, and then map and call
via
> | the dll's interfaces.
>
> i doubt he's heard of atl's or any other kind of template library. i can
> hear the 'huh?' from here.
Yes, that is hardly helpful now that you mention it.
>
> | Visual basic is com so the complexity is hidden from you
>
> since it does abide by the com contract, all he'd have to do for a wrapper
> would be to create a form, drop the control on it, then expose it's
> interfaces publically, and compile his new dll. php can consume the
> interfaces from there.
A form?? That did confuse me when I read it. Where would I look into this
Steve?
Vince
[Back to original message]
|