comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Serial I/O
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Serial I/O [message #33246] Sun, 15 December 2002 11:05 Go to next message
m Alport is currently offline  m Alport
Messages: 1
Registered: December 2002
Junior Member
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...?
Re: Serial I/O [message #33303 is a reply to message #33246] Mon, 16 December 2002 11:26 Go to previous message
Rick Towler is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Illegal 3D Transformation (Beginner)
Next Topic: Two questions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:12:30 PDT 2025

Total time taken to generate the page: 0.00460 seconds