Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
P is for Practical
 
PerlMonks  

Creating a COM/OLE server

by crenz (Priest)
on Feb 25, 2005 at 05:34 UTC ( [id://434419]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

crenz has asked for the wisdom of the Perl Monks concerning the following question:

I've perused the documentation of Win32::OLE, but it mentions nothing about creating your own COM/OLE servers. How can I prove to my colleague that this can indeed be done using Perl? :)

Replies are listed 'Best First'.
Re: Creating a COM/OLE server
by holli (Abbot) on Feb 25, 2005 at 05:39 UTC
    You can´t. At least not with pure Perl. But there is the PerlDevKit from ActiveState, that contains PerlCtrl, a tool to write ActiveX-Dlls.


    holli, /regexed monk/
Re: Creating a COM/OLE server
by gellyfish (Monsignor) on Feb 25, 2005 at 05:44 UTC
Re: Creating a COM/OLE server
by Anonymous Monk on Feb 25, 2005 at 23:24 UTC
    Using Windows Script Components (WSC) you can put PerlScript inside *.wsc files, register them into the local COM registry, and then load up your Perl-COM components from anything else that can use COM.

    No compiling necessary.

    Take a look at ActiveState's description:
    http://www.xav.com/perl/Windows/windows_script_components.html

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://434419]
Approved by Arunbear
Front-paged by grinder
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.