Home All Groups Group Topic Archive Search About

Interop.IWshRuntimeLibrary.dll for Windows 2000 Server

Author
9 Apr 2007 9:15 PM
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

Author
10 Apr 2007 11:17 AM
Patrice
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...
---
Patrice

"Valerie Hough" <sa***@pcTrans.com> a écrit dans le message de news:
uwMjwtueHHA.1***@TK2MSFTNGP04.phx.gbl...
Show quote
> 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
>
Author
12 Apr 2007 12:26 PM
Valerie Hough
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

AddThis Social Bookmark Button