in reply to Re: Re: Re: using Word dictionary in Perl
in thread using Word dictionary in Perl

Hi, I could run this program on my PC installed with WIN 98 os(With Active Perl). But the same not working on WIN NT. I am using Indigo PERL on WIN NT. The error is
Win32::OLE::Const->Load: No or invalid type library name at test.pl li +ne #some no# Win32::OLE(0.13): GetOleTypeLibObject() Not a Win32::OLETypeLib object + at e:/perl56i/site/lib/Win32/OLE/Const.pm line 34.
Is there any problem with library module Const.pm or it does not work on WIN NT. I appreciate your help. I thoughtof cutting and pasting the error. I used perl test.pl > error.txt. But the above error is not copied to error.txt. I also need how to redirect error to a file on Win NT. There are no buttons to cut and paste. I am trying this program at MS Dos command Prompt. Thanks Ashok

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: using Word dictionary in Perl
by t0mas (Priest) on Dec 14, 2000 at 12:33 UTC
    I don't have the Indigo Perl distro on my PC, so I can't try it out for you. The Const->Load command searches through the registry for the type library. The error you get indicates that it can't find the library that it searches for.

    Do you have MS Word installed on the NT box?

    /brother t0mas