home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / win32 / 2760 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.9 KB  |  52 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!wupost!usc!sol.ctr.columbia.edu!ira.uka.de!Sirius.dfn.de!urmel.informatik.rwth-aachen.de!solaris.rz.tu-clausthal.de!root
  3. From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
  4. Subject: Re: Two beginner's questions
  5. Message-ID: <1993Jan8.144317.24088@solaris.rz.tu-clausthal.de>
  6. News-Software: IBM OS/2 PM RN (NR/2) v0.16 by O. Vishnepolsky and R. Rogers
  7. Lines: 38
  8. Sender: root@solaris.rz.tu-clausthal.de (Operator)
  9. Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
  10. Organization: Techn. Univ. Clausthal
  11. References: <1icf97INNf7i@flop.ENGR.ORST.EDU> <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de> <1993Jan6.223149.403@emr1.emr.ca>
  12. Date: Fri, 8 Jan 1993 14:43:17 GMT
  13.  
  14. In <1993Jan6.223149.403@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
  15. >In article <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de> hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter) writes:
  16. >>In <1icf97INNf7i@flop.ENGR.ORST.EDU> gunnelj@curie.CS.ORST.EDU (John A. Gunnels) writes:
  17. >[...stuff deleted...]
  18. >
  19. >>In the registry, there is also a section called INI-File Mapping, which
  20. >>causes that Windows 3.x apps, that issue WriteProfileString or
  21. >>WritePrivateProfileString to write the data in the registry. You can
  22. >>choose between storing on a per user basis or per machine basis. This
  23. >>causes, that Win 3.x apps store certain things on per user basis.
  24. >
  25. >       Oh no!  Is this true!  In Windows 3.1, I've been using the
  26. >       ...PrivateProfileString functions to maintain a script file
  27. >       of data descriptors, rather than a *.INI file for the app.  The
  28. >       file is not in the windows directory and is not used for the
  29. >       app config.  Instead it resides with the data files used by the app
  30. >       and contains various info about the files.  I want it to
  31. >       remain ASCII, so it can be edited and I want it to remain in
  32. >       the directory where my data resides.
  33. >
  34. >       When I move to NT, does this mean that even the ...Private...
  35. >       stuff will go into the registry in the NT directory!?!?!?
  36. >       If this is true, I will have to write my own replacement
  37. >       for these functions and stop using them altogether.
  38. >
  39.  
  40. You can still write to ASCII Files. The only thing is, that when you
  41. make an INI-File-Mapping entry in the registry, WritePrivateProfileString
  42. writes into the registry, of you don't make an entry, you still write
  43. in ASCII-Files. It's really your choice.
  44.  
  45. Christoph
  46. -------------------------------------------------------+-----------------------
  47. Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
  48. Internet: hochstae@allfiwib1.wiwi.uni-marburg.de       | D-W-3550 Marburg
  49. Bitnet  : HOCHSTAE AT DMRHRZ11                         | Germany
  50. Fido    : 2:243/660                                    | Phone +49-6421-28-7092
  51. Fax     : +49-6421-28-4858                             |
  52.