Well, OCX used to be (maybe still is) a file extension for files in Win32 and Win16 systems that implemented controls usable in other apps. They were commonly called OCX controls because of the extension. These exposed an interface that was a precursor to COM; later this interface grew into OLE, and later still, ActiveX. To be honest, if there are differences OCX and OLE, I lost track of them -- as far as I know, the difference is simply in the name.

If this is the OCX you mean, then yes, they can be accessed from Perl, using Win32::OLE and its related modules. (As Dave Roth points out in his very useful site about Perl and Win32, a better name might have been Win32::COM.) I may have some details wrong about which versions preceded and which followed; take a look at that site for more references and info.


In reply to Re: Using ocx(same as ole?) controls from Perl by VSarkiss
in thread Using ocx(same as ole?) controls from Perl by Anonymous Monk

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.