Com+

Discussion in 'Perl Misc' started by Jochen Friedmann, Jul 30, 2004.

  1. Hello,

    how can I use a COM+ Objekt from another Computer in my PerlScript ?

    my code:
    ----------
    use Win32::OLE;

    $o = Win32::OLE->new(["10.27.203.203", "CJSrv.CopyJobServer"]);
    print Win32::OLE->LastError(), "\n";
    print int(Win32::OLE->LastError());
    -----------
    The error message is: "Access denied" ! Do I need a username and a PW ?

    Jochen
     
    Jochen Friedmann, Jul 30, 2004
    #1
    1. Advertising

  2. Jochen Friedmann <> wrote:
    > Hello,
    >
    > how can I use a COM+ Objekt from another Computer in my PerlScript ?
    >
    > my code:
    > ----------
    > use Win32::OLE;
    >
    > $o = Win32::OLE->new(["10.27.203.203", "CJSrv.CopyJobServer"]);
    > print Win32::OLE->LastError(), "\n";
    > print int(Win32::OLE->LastError());
    > -----------
    > The error message is: "Access denied" ! Do I need a username and a PW ?


    Not necessarily but you will need to configure the remote machine to
    allow remote activations. You will probably want to ask in a windows
    newsgroup about this.

    /J\
     
    Jonathan Stowe, Jul 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page