home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25417 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.9 KB

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