home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Problem replacing *.DLL files
- Keywords: DLL
- Message-ID: <1992Jul24.190657.22425@njitgw.njit.edu>
- Date: 24 Jul 92 19:06:57 GMT
- References: <1992Jul23.152118.22378@mlb.semi.harris.com>
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 62
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1992Jul23.152118.22378@mlb.semi.harris.com> menendez@trantor.harris-atd.com (Rolando Menendez) writes:
- >
- >The SOFTWARE.WATSON.IBM.COM ftp site contains some dynamically linked library
- >(*.DLL) files that eliminates some known problems with OS/2 (e.g., blkico.zip
- >to fix the "black icon problem", etc), as you may all know.
- >
- >I tried to replace (copy over) some of these files in my \os2\dll directory,
- >but the old files were in use by the system and I was not able to
- >re-write them.
-
- Correct. The files are in use by the Presentation Manager. Once PM
- is launched, they are in use and can't be replaced. If you boot an
- install floppy to get to a CMD prompt, you can replace them, since PM
- won't be active.
-
- I think you can also place a "CALL=C:\OS2\CMD.EXE" at the top of your
- CONFIG.SYS (after the HPFS driver!) to get to a prompt before PM loads
- and replace them from there.
-
- >Instead, I copied the new files to root (\) and rebooted. The new files were
- >apparently used (the black icons disappeared), but I still was not able to
- >move or erase the new files in the root directory. I was able to copy these
- >files to /os2/dll to update the old ones, but I can not get rid of the copies
- >in the root.
-
- Right. The root is first on the LIBPATH. So when OS/2 looked to open
- the DLL files, it opened the ones in the root and ignored the others.
- Now the ones in your root are in use.
-
- >Before I try to boot from the distribution disk (and run the risk of wipping
- >my boot-up and desktop configuration),
- >is there a correct replacement procedure which I have not found?
-
- Booting an install disk is proper procedure. When you are asked to
- (on disk 1), press ESC and drop to a prompt. From there, move the
- files to their proper place:
-
- MOVE C:\*.DLL C:\OS2\DLL
-
- Then reboot (CTRL-ALT-DEL)
-
-
- A more roundabout way might be:
-
- 1) Edit config.sys and update the LIBPATH statement so that C:\OS2\DLL
- appears before C:\ on the list of directories.
-
- 2) Copy the DLL files to C:\OS2\DLL.
-
- 3) Reboot. Now the ones in C:\OS2\DLL will be active, because the
- system will find them first. You can now delete the ones in the root,
- because they won't be in use.
-
- 4) Edit config.sys and change your LIBPATH back to what it was.
-
-
-
- --
- |) David Charlap "I don't even represent myself
- /|_ dic5340@hertz.njit.edu sometimes so NJIT is right out!.
- ((|,)
- ~|~ Hi! I am a .signature virus, copy me into your .signature file.
-