home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- 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
- From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Subject: Re: Two beginner's questions
- Message-ID: <1993Jan8.144317.24088@solaris.rz.tu-clausthal.de>
- News-Software: IBM OS/2 PM RN (NR/2) v0.16 by O. Vishnepolsky and R. Rogers
- Lines: 38
- Sender: root@solaris.rz.tu-clausthal.de (Operator)
- Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Organization: Techn. Univ. Clausthal
- References: <1icf97INNf7i@flop.ENGR.ORST.EDU> <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de> <1993Jan6.223149.403@emr1.emr.ca>
- Date: Fri, 8 Jan 1993 14:43:17 GMT
-
- In <1993Jan6.223149.403@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
- >In article <1993Jan6.135141.11288@solaris.rz.tu-clausthal.de> hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter) writes:
- >>In <1icf97INNf7i@flop.ENGR.ORST.EDU> gunnelj@curie.CS.ORST.EDU (John A. Gunnels) writes:
- >[...stuff deleted...]
- >
- >>In the registry, there is also a section called INI-File Mapping, which
- >>causes that Windows 3.x apps, that issue WriteProfileString or
- >>WritePrivateProfileString to write the data in the registry. You can
- >>choose between storing on a per user basis or per machine basis. This
- >>causes, that Win 3.x apps store certain things on per user basis.
- >
- > Oh no! Is this true! In Windows 3.1, I've been using the
- > ...PrivateProfileString functions to maintain a script file
- > of data descriptors, rather than a *.INI file for the app. The
- > file is not in the windows directory and is not used for the
- > app config. Instead it resides with the data files used by the app
- > and contains various info about the files. I want it to
- > remain ASCII, so it can be edited and I want it to remain in
- > the directory where my data resides.
- >
- > When I move to NT, does this mean that even the ...Private...
- > stuff will go into the registry in the NT directory!?!?!?
- > If this is true, I will have to write my own replacement
- > for these functions and stop using them altogether.
- >
-
- You can still write to ASCII Files. The only thing is, that when you
- make an INI-File-Mapping entry in the registry, WritePrivateProfileString
- writes into the registry, of you don't make an entry, you still write
- in ASCII-Files. It's really your choice.
-
- Christoph
- -------------------------------------------------------+-----------------------
- Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
- Internet: hochstae@allfiwib1.wiwi.uni-marburg.de | D-W-3550 Marburg
- Bitnet : HOCHSTAE AT DMRHRZ11 | Germany
- Fido : 2:243/660 | Phone +49-6421-28-7092
- Fax : +49-6421-28-4858 |
-