richz has asked for the wisdom of the Perl Monks concerning the following question:
I get the error message: Win32::OLE(0.1008) error 0x80040111: "ClassFactory cannot supply requested class" Now the interesting thing is that if I try to launch Word I can create the COM object successfully. Also, I am pretty sure that when I tried a week ago I was able to also create the matlab COM server object successfully at least once. In OLE/COM Object Viewer I also get a similar error when I try to create an instance of matlab: CoGetClassObject failed. I tried reinstalling matlab multiple time to no avail. I looked at the registry entries and it seems like the registry keys that would be required to locate the matlab server are all there. What makes is stranger is that I was just able to create a matlab server object from C++ code. Any help would be greatly appreciated. Rich$matlab = Win32::OLE->new('Matlab.Application') or die "Oops\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strange OLE ClassFactory cannnot supply requested class error
by doowah2004 (Monk) on Aug 31, 2004 at 14:05 UTC | |
|
Re: Strange OLE ClassFactory cannnot supply requested class error
by richz (Beadle) on Aug 31, 2004 at 17:26 UTC |