|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
using *.cfg and *.ini files
Anybody know how to make your program use these? Either DOS or windows?
|
|
#2
|
||||
|
||||
|
You can perhaps use GetPrivateProfileString(), GetPrivateProfileStruct(), WritePrivateProfileString() and WritePrivateProfileStruct(). See http://msdn.microsoft.com/library/d...ofilestring.asp for the documentation. However, you should know that Microsoft provides these functions, only for compatibility with 16 bit windows applications. The new Microsoft standard is to store config information in the registry. If you want to go to the new standards, see this link:
http://msdn.microsoft.com/library/d...y_functions.asp |
|
#3
|
|||
|
|||
|
thanks.
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > using *.cfg and *.ini files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|