Interop.IWshRuntimeLibrary.dll for Windows 2000 Server

  • Thread starter Thread starter Valerie Hough
  • Start date Start date
V

Valerie Hough

Hi,
I created an application that uses the WSH runtime library in my XP
development environment. As part of the build, the file
"Interop.IWshRuntimeLibrary.dll" was created which I deploy with my
application.

However, my application does not work for Windows 2000 Server.

Is there somewhere I can get the correct version of this DLL for W2K Server?

Thanks in advance.
Valerie Hough
 
Does not work ? What is the exact behavior you see ?

Also you may want to tell us what you use from WSH in case you would have a
..NET based replacement...
 
Thanks for your response. The application is a console application and the
error message I get is:

C:\>myApp
Retrieving the COM class factory for component with CLSID
{72C24DD5-D70A-438B-8A42-9842B88AFB8} failed due to the following error:
80040154

I assumed that this has to do with the WSH runtime since it only happens
with the one .EXE that uses it and it doesn't happen on XP or Windows Server
2003, but that may not be right.

I am using the WSH runtime to connect to existing shortcuts and get
information abtout them. I was unable to find a way to do this another way.

Thanks for your help,
Valerie Hough
 
Back
Top