TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Doug Glenn
from: David Noon
date: 1994-09-09 23:08:00
subject: INI structure and manipu

On Thursday, 1994-09-08  Doug Glenn wrote to All about "INI structure
and manipul" as follows:

DG> Where, in the programmers toolkit (IBM 2.0/2.1), does it
DG> mention the structure on the INI files for OS/2?
DG>
DG> I am not interested in writing to the system INI files, but
DG> reading them, and converting a VXREXX applet that uses its own
DG> INI file to store information in, and reading and writing to
DG> that file.
DG>
DG> I've done a search on all the info that I have that came with
DG> Watcom 9.5, and 10, and cannot locate it. Is it in the Redbooks?

Hi Doug,

As near as I can tell, IBM does not publish the format of the .INI
files. They are subject to change; for example, the format changed
between the Coral Pink PDK beta of OS/2 2.1 and the GA release of OS/2
2.1.

The only consistent access you will have to them is via the Prf...()
API calls. These are documented in the .INF files supplied with the
developer's toolkit.

You might also find it convenient to use the VX-REXX VRGetIni() and
VRSetIni() calls, which are a fairly comprehensive subset of the
Prf...() API calls. A more comprehensive REXX function is also supplied
with the operating system; SysIni(), in a slightly convoluted way,
provides almost all the functionality of the Prf...() API's - it is
more comprehensive than Watcom's VX-REXX functions and can be used
inside a VX-REXX program.

Regards

Dave

___
 X KWQ/2 1.2g X If ignorance is bliss, I'm in hog heaven!!

--- Maximus/2 2.01wb

* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 109/347 2 7 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.