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

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!emr1!jagrant
  3. From: jagrant@emr1.emr.ca (John Grant)
  4. Subject: Re: Two beginner's questions
  5. Message-ID: <1993Jan6.223149.403@emr1.emr.ca>
  6. Organization: Energy, Mines, and Resources, Ottawa
  7. References: <1icf97INNf7i@flop.ENGR.ORST.EDU> <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de>
  8. Date: Wed, 6 Jan 1993 22:31:49 GMT
  9. Lines: 30
  10.  
  11. In article <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de> hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter) writes:
  12. >In <1icf97INNf7i@flop.ENGR.ORST.EDU> gunnelj@curie.CS.ORST.EDU (John A. Gunnels) writes:
  13. [...stuff deleted...]
  14.  
  15. >In the registry, there is also a section called INI-File Mapping, which
  16. >causes that Windows 3.x apps, that issue WriteProfileString or
  17. >WritePrivateProfileString to write the data in the registry. You can
  18. >choose between storing on a per user basis or per machine basis. This
  19. >causes, that Win 3.x apps store certain things on per user basis.
  20.  
  21.     Oh no!  Is this true!  In Windows 3.1, I've been using the
  22.     ...PrivateProfileString functions to maintain a script file
  23.     of data descriptors, rather than a *.INI file for the app.  The
  24.     file is not in the windows directory and is not used for the
  25.     app config.  Instead it resides with the data files used by the app
  26.     and contains various info about the files.  I want it to
  27.     remain ASCII, so it can be edited and I want it to remain in
  28.     the directory where my data resides.
  29.  
  30.     When I move to NT, does this mean that even the ...Private...
  31.     stuff will go into the registry in the NT directory!?!?!?
  32.     If this is true, I will have to write my own replacement
  33.     for these functions and stop using them altogether.
  34.  
  35. [...more stuff deleted...]
  36.  
  37. -- 
  38. John A. Grant                        jagrant@emr1.emr.ca
  39. Airborne Geophysics
  40. Geological Survey of Canada, Ottawa
  41.