From: Jonathan de Boyne Pollard on
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<blockquote
cite="mid:d53d9f85-1fa2-475d-9cd4-8d15e964a4fd(a)r1g2000yqj.googlegroups.com"
type="cite">
<p wrap="">My application uses a config.ini file to store some
variables, [...]&nbsp; such as [...] the position and size of the window
[...] I'm wondering, isn't there an easier way, to read and write the
data?<br>
</p>
</blockquote>
<p><a href="http://support.microsoft.com/kb/310294">Use the registry</a>,
perhaps?&nbsp; <a href="http://www.delphi3000.com./articles/article_852.asp">Like
this</a>.&nbsp; Note the caution in the MSKB article.<br>
</p>
</body>
</html>
From: Jonathan de Boyne Pollard on
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<blockquote cite="mid:cxJqn.15005$pv.8244(a)news-server.bigpond.net.au"
type="cite">
<p>You are overreacting. </p>
</blockquote>
<p>No, xe isn't.&nbsp; He's stressing a basic lesson in program design that
people who want to be future-proof and portable have to learn.&nbsp;
Moreover, it's better to learn this lesson <em>before</em> one finds
onesself locked into the limitations of a file format that one designed
ten years ago, which in M. Piranha's case is <em>right now</em>.&nbsp; Go
and read <a href="http://www.lysator.liu.se./c/ten-commandments.html">Henry
Spencer's Tenth Commandment</a>, <a
href="http://stackoverflow.com/questions/2193472/are-files-dumped-with-fwrite-portable-across-different-systems">the
writings of Martin York</a>, or <a
href="http://fadden.com./techmisc/file-formats.htm">the writings of
Andy McFadden</a>.&nbsp; <em>Learn</em> from other people's mistakes in
this area.&nbsp; There are enough examples of them to learn from.</p>
</body>
</html>