in reply to Using COM Objects from Perl

The problem is in the registry entry for that library. It looks like the new call is failing, although I can't be sure from this distance. Take a look at this related problem report on the MS Web site. You'll have to do a re-install or regedit, I think, but the problem's going to be finding the correct values (ClassID and such).

Replies are listed 'Best First'.
Re: Re: Using COM Objects from Perl
by TheFluffyOne (Beadle) on Nov 21, 2003 at 18:21 UTC

    Unfortunately I've already been through that article amongst others. RegMon traces don't show any signs of problems (or rather, nothing that I recognise as a problem).

    In replying to another poster with an OLE problem I realised I should be taking my own advice, and tried the same operation with a VBS script:

    set sametime = CreateObject("STComTk.CommunityService") sametime.LoginByPassword "Server", "User", "Password"

    Same problem occurs:

    C:\usr\VBS\sametime.vbs(6, 1) (null): Library not registered.

    So it looks like there's something wrong with the Lotus Sametime COM objects rather than Perl...

    Cheers

    Gordon

      That error should have been:

      C:\usr\VBS\sametime.vbs(2, 1) (null): Library not registered.

      I stripped some comments out, so there isn't a line 6 :)

      Gordon.