Home »
Public Forums »
archive »
Serial I/O
Re: Serial I/O [message #33303 is a reply to message #33246] |
Mon, 16 December 2002 11:26  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"m Alport" <m_alport@hotmail.com> wrote
> IDL seems to have a very useable ActiveX interface. It seems to me that
this
> is the solution to giving IDL some hardware interface capability - eg
serial
> I/O - has anyone done this yet?
> Or possibly Port I/O...?
I have had mixed results using COM objects in IDL. Some of which have been
problems on the IDL side but most have been the generally undocumented
interfaces to most objects. Even in my successful projects I end up hacking
something together. Maybe not a glowing endorsement but you can do it.
The com object is called "Microsoft Communications Control" and it's CLSID
is
{648A5600-2C6E-101B-82B6-000000000014}
I believe that this object is well documented although you may have more
luck if you create your own COM object in something like VB and tailor the
interface for IDL.
Oh yeah, I never was able to pass an array using COM objects in IDL and my
pleas for help went unheard so maybe this isn't the way to go. It is all
rushing back now. The frustration... The time spent with my nose in
COM/ActiveX books... The cursing of RSI for giving us weak documentation...
I think you'll want to try Dave's code.
-Rick
|
|
|
Current Time: Thu Oct 09 14:09:44 PDT 2025
Total time taken to generate the page: 0.24016 seconds