Short for OLE Control Extension, an independent program module that can be accessed by other programs in a Windows environment. OCX controls end with a .ocx extension. OCX controls represent Microsoft's second generation of control architecture, the first being VBX controls written in Visual Basic.

Both VBX and OCX controls have now been superseded by ActiveX controls. However, ActiveX is backward compatible with OCX controls, which means that ActiveX containers, such as Microsoft's Internet Explorer, can execute OCX components.

From: http://216.239.59.104/search?q=cache:ZeIpZRTRifMJ:www.webopedia.com/TERM/O/OCX.html+ocx&hl=en

An ocx is just a component control, without having a container object perl has no way to access them.

"Perl for Win32 cannot currently use OCX controls, which require additional OLE support."
From Learning Perl on Win32 Chapter 19

"The Win32::OLE module uses the IDispatch interface exclusively. It is not possible to access a custom OLE interface. OLE events and OCX's are currently not supported.

Actually, that's no longer strictly true. This module now contains ALPHA level support for OLE events. This is largely untested and the specific interface might still change in the future." from the Active State docs on Win32::OLE

update:
I wouldn't say that not supporting an ocx is defective of perl. OCX's are designed to compile with a vb project. Which is different from OLE, you can add OLE support into an OCX but the application that compiles the OCX does the automation the functions for the OCX are added to the applications. From further reading of Win32 Perl Programming bvy Dave Roth, and MSDN it appears that ActiveX (.ocx files) can be built to include an IDispatch interface. If this ocx lacks that it needs the container object.

"No matter where you go, there you are." BB

In reply to Re: Perl for OLE & OCX by Ninthwave
in thread Perl for OLE & OCX by wa4otj

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.