Beware apps bearing DLLs: Windows 98 disables Microsoft competitors'software
The setup routine for Microsoft's new Windows 98 operating system deliberately disables files used by competitors' software and installs different versions of those files for the use of Windows 98.
Windows 98 includes a new utility, the Version Conflict Manager, or VCM, to keep track of the disabled files and provide a way for users to switch the files back. But the Win98 setup routine does not provide any notice to users that the files are being changed or that the Version Conflict Manager is available if a competitors' software no longer operates properly.
The changed files are DLLs -- small support programs that are shared by several applications -- as well as other shared files. If the Windows 98 setup routine detects that a competitors' program has installed a newer shared file than the version that comes with Windows 98, the setup routine moves the file to a new location, thereby disabling it. Win98 then installs an older version of the same file into the proper location. The application that depended on the newer version of that file may no longer work properly, or it may no longer work at all.
Microsoft product manager Shawn Sanford stated in an e-mail exchange, "We wanted to be assured of a known, working baseline operating system when we were done with installation." This practice, however, places competitors who rely on the newer files at a severe disadvantage. Competitors' applications may no longer work, but users would have received no notice of the change.
In one test machine, the Windows 98 setup routine disabled three shared files:
Twain.dll 1.6.0.3 (supports numerous scanners and other devices)
Msconv97.dll 1997.4.2
W95inf32.dll 4.71.17
The files were replaced with these older versions:
Twain.dll 1.6.0.1
Msconv97.dll 1997.3.12
W95inf32.dll 4.71.16
The Twain file, of course, is a popular driver that supports numerous scanners and other devices. Files of this type usually originate with Microsoft and are distributed by the Redmond, Wash. software giant to competitors for use with its products. But Windows 98 appears to rely upon earlier versions and swaps the files, whether or not this has a negative effect on other installed applications.
The Version Conflict Manager lets the user select a file and trade the older version for the newer version. But a Win98 user typically has no knowledge of what applications use which shared files or which version of each file would be "better." Moreover, the utility is unlikely to be found routinely by users, because it is buried deep within Win98's menu structure: Click Start, Programs, Accessories, System Tools, System Information, Tools, Version Conflict Manager -- and then you will find it.
Ironically, the origin of the Version Conflict Manager appears to have been a series of four columns written I wrote from Sept. 2 to Sept. 23, 1996. The columns complained that Windows 95 allowed applications to install older versions of shared files over newer ones, causing programs to crash. I urged Microsoft to have Windows catch such conflicts and prevent them, while allowing the user to switch between shared files, if necessary, later.
Rather than make the Version Conflict Manager available to all applications, however, "the VCM mechanism is only turned on during Windows 98 install," according to Sanford. After Win98's setup is over, the Version Conflict Manager ceases monitoring the system. If the installation of a third-party application subsequently causes a problem, the Version Conflict Manager will have no information about the situation.
Any user who installs Windows 98 should check the Version Conflict Manager immediately after the setup routine is complete to see if any shared files were changed. The Version Conflict Manager should show the names and version numbers of any files the Win98 setup routine modified. If this is the case, I'll describe in my column next week how you can tell what applications rely on those files and whether you should switch to the newer versions.
------------------------------------------------------------------------
<Picture>
Brian Livingston is the co-author of several best-selling Windows books, including the most recent Windows 95 Secrets (IDG Books). Send comments to brian_livingston@infoworld.com. Unfortunately, he cannot answer individual questions.
Missed a column? Go back for more.
How to fix the DLLs that are disabled when you install Windows 98
I revealed in last week's column that the Windows 98 setup routine blithely writes to your system any shared files (such as DLLs) that it may have on the Win98 CD-ROM. This occurs even if the DLL version on the CD is older than the DLL that was previously installed to your system by a competitor's application.
This can have serious effects if an application relied on a DLL's newer version. I've already heard from readers who lost the use of their scanners after installing Win98. (In one test, Win98 replaced Twain.dll 1.6.0.3 with Twain.dll 1.6.0.1.)
I quoted a Windows product manager last week saying, "We wanted to be assured of a known, working baseline operating system when we were done with installation." In my opinion, Microsoft should eliminate "DLL hell" for every application -- not just for Windows.
Fortunately, Microsoft provides a little-known utility in Windows 98 that can help you get out of jams caused by file conflicts. The utility is called the Version Conflict Manager, or VCM. If the Win98 installation loaded any older files onto your system, the VCM utility shows you their names. You can swap them with the newer versions, if necessary, to restore ailing applications.
Unfortunately, VCM doesn't tell you what applications used a particular file or which version of the file would be "better." Here's a procedure that can help you recover.
Step 1. After installing Win98, start VCM by clicking Start, Programs, Accessories, System Tools, System Information, Tools, Version Conflict Manager.
Step 2. If VCM shows any files that have two different version numbers, your original file or files will have been moved to the C:\Windows\VCM folder. Rather than tinker with the files manually, it's better to use VCM to swap them, if you determine in Step 6 that swapping them is desirable.
Step 3. To determine whether any of your applications are dependent upon one of the files listed in VCM, obtain a copy of the Barry Press Utilities. This is a $20 set of shareware utilities by the author of The PC Upgrade and Repair Bible (IDG Books). The utilities are available on the Windows 95 Secrets or Windows 98 Secrets CD, or by download from http://www.aros.net/~press.
Step 4. After installing BP Utilities, run the DLLMan program. Click File, Open, then select a file that is listed in VCM. (For example, try C:\Windows\System\Mapi32.dll.) You will see a window showing other resources that Mapi32.dll is dependent upon.
Step 5. To see the programs that are dependent upon the DLL you've selected, click Search, Set Search Root, then select a drive to search (normally C:). Then click Search, Locate Usage. DLLMan will take a few moments while it searches your hard drive for programs with dependencies on your chosen DLL. (DLLMan can't see dependencies in some programs, notably Visual Basic programs.) If you see a message that a program file is in use, simply click OK and DLLMan will continue.
Step 6. If DLLMan lists an application that uses a file changed by Win98, test the application carefully. If it crashes, use VCM to swap the two file versions. When you do this, VCM saves the swapped-out file in the C:\Windows\VCM folder with the file extension changed to .000. You can use VCM to change back at any time.
Sheesh. It's time for Microsoft to give up on "shared files" and develop a system that rules out these conflicts for good.
------------------------------------------------------------------------
<Picture>
Brian Livingston's latest book is Windows 98 Secrets (IDG Books). Send tips to brian_livingston@infoworld.com. He regrets that he cannot answer individual questions.
Missed a column? Go back for more.
<Picture>
------------------------------------------------------------------------
Copyright © 1998 InfoWorld Media Group Inc.
file: /Techref/os/win/win98/fixdlls.htm, 8KB, , updated: 1999/2/20 12:29, local time: 2024/11/24 13:23,
3.133.157.231:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/win98/fixdlls.htm"> os win win98 fixdlls</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.