Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.ini file - how to create?

1 view
Skip to first unread message

Andrew Kovalenko

unread,
Nov 30, 1992, 6:19:20 AM11/30/92
to
27 Nov 92 17:51, sla...@m.scs.uiuc.edu wrote to All:

> Summary: tpu for creation of .ini file is wanted
> Keywords: ini, configuration file

> This is a FAQ, I guess, but is there a standard for .ini files for
> Windows programs? I need a unit to create and read them.

> Slawek Janicki
> Sla...@m.scs.uiuc.edu

Slawek, you are not needed in any .TPU for reading/writing standard .INI files
for your Windows applications. The Windows API provides imported functions for
this. There are special functions for reading & writing WIN.INI & other .INI
files & declared in WINTYPES.PAS. Their names are:
GetProfileString & WriteProfileString - for WIN.INI
GetPrivateProfileString & WritePrivateProfileString - for all the other.
They are called just like the first two, but You specify the file path.

Andrew Kovalenko, Russia

--- GoldED 2.40.P0621+
* Origin: ********* AGAMA online ********* (FidoNet 2:5020/81.5)

0 new messages