in reply to Re: Using COM Objects from Perl
in thread Using COM Objects from Perl

I'm using Sametime Connect 3.0, but the COM component is part of the Sametime COM Toolkit that can be downloaded from the Lotus Dev website.

It consists of the files STComTk.dll and STComTk.tlb which are copied to c:\winnt\system32, and the dll is registered with regsvr32.exe.

Thanks,

Gordon

Replies are listed 'Best First'.
Re: Re: Re: Using COM Objects from Perl
by diotalevi (Canon) on Nov 21, 2003 at 17:22 UTC

    Ah ok. Well I can duplicate your error anyhow. I'm at a loss about what the problem is though. The following LotusScript code also errors out on LoginWithPassword. I didn't install a Win32 LastError function so I couldn't examine that.

    Sub Initialize Set CS = CreateObject( "STComTk.CommunityService" ) Call CS.LoginWithPassword( "Server", "username", "password" ) Messagebox CS.IsLoggedIn CS.Logout End Sub