flat assembler
Message board for the users of flat assembler.
Index
> Windows > reading ini files |
Author |
|
revolution 12 Feb 2018, 10:16
Since is is just plain text with no defined structure, you will have parse the file line-by-line or byte-by-byte.
But Windows does have API calls to read/write ini files. But be careful using them because Windows likes to copy them into the registry and expects you to delete the file. |
|||
12 Feb 2018, 10:16 |
|
Furs 12 Feb 2018, 12:58
revolution wrote: But be careful using them because Windows likes to copy them into the registry |
|||
12 Feb 2018, 12:58 |
|
revolution 12 Feb 2018, 13:31
Furs wrote:
The system maps most .ini file references to the registry, using the mapping defined under the following registry key: |
|||
12 Feb 2018, 13:31 |
|
rugxulo 12 Feb 2018, 19:39
What about inih?
Quote:
|
|||
12 Feb 2018, 19:39 |
|
Ali.Z 13 Feb 2018, 06:25
GetPrivateProfileString - GetPrivateProfileInt
thanks rev for sharing the link, if i understood these functions well .. then i think this is what i need. to read string and integer. thanks again rev. |
|||
13 Feb 2018, 06:25 |
|
Furs 13 Feb 2018, 13:24
revolution wrote: Since always AFAIK. |
|||
13 Feb 2018, 13:24 |
|
revolution 13 Feb 2018, 14:18
Furs wrote:
|
|||
13 Feb 2018, 14:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.