- Code: Select all Expand view
INI oIni FILE GetWinDir()+"\MyIni.ini"
GET cEntry SECTION "Section" ENTRY "Entry" OF oIni DEFAULT "AAA"
ENDINI
GetWinDir() returns "c:\document and settings\administrator\windows", so MyIni.ini is created here (as it's not already existant). So far so good.
The problem is that IF c:\windows\MyIni.ini already exists, the c:\document and settings\administrator\windows\MyIni.ini file takes the defaults from c:\windows\MyIni.ini instead of the ones coded in the program ("AAA").
Is this supposed to work this way or is it a bug ?
Regards,
Davide
FWH 27 March 2006 - xH 0.99.60 - Bcc