Hi,
I was wondering if anyone had a nice efficient way to write integer values into a INI file.
I know WinAPI has a WritePrivateProfileString but I want to write an int value.. not a string.
Any help would be nice.
Torch
I was wondering if anyone had a nice efficient way to write integer values into a INI file.
I know WinAPI has a WritePrivateProfileString but I want to write an int value.. not a string.
Any help would be nice.
Torch
Torch,
Its really simple, you can write any numerical value you like directly to any offset in a file that you open. Just set the file pointer where you want and write the numerical data to it.
You only bother to write it as a string if it needs to be read or modified by a person who wants readable form.
Regards,
hutch@movsd.com
Its really simple, you can write any numerical value you like directly to any offset in a file that you open. Just set the file pointer where you want and write the numerical data to it.
You only bother to write it as a string if it needs to be read or modified by a person who wants readable form.
Regards,
hutch@movsd.com