I've a trouble with ini file under iPhone.
With a GLBasic 8.200 version are all ok.
But with a new version (9.26) give me a error when i write/reading ini file.
this is a source code I'm using :
GLOBAL GLsavepath$
GLsavepath$ = PLATFORMINFO$("DOCUMENTS")
KILLFILE GLsavepath$+"/qualeautore.ini"
INIOPEN GLsavepath$+"/qualeautore.ini"
INIPUT "Libri", "tempo", 10
INIPUT "Libri", "errori", 5
INIPUT "Libri", "indovina",15
INIPUT "Libri", "lingua",1
INIOPEN ""
Whats the error ?
Have you checked to see if there are any non-standard letters in the GLsavepath$ variable ?
Quote from: MrTAToad on 2011-Mar-04
Whats the error ?
This :
(http://www.borzini.it/resources/QA_inierror.png)
Quote
Have you checked to see if there are any non-standard letters in the GLsavepath$ variable ?
Yes obviously :-) the path is equal when I used Old GLBasic version
Better make a bug post about it!
Check that you are not using a shoebox before writing...
Quote from: ampos on 2011-Mar-05
Check that you are not using a shoebox before writing...
I've removed the shoebox but the error is the same :(
Shoebox actually works on my iPod - for sound and graphics, but apparently not on everyones... :S
Shoebox does work on iPhone. I use it on Krakout. But writings on shoebox fails.
QuoteShoebox does work on iPhone. I use it on Krakout. But writings on shoebox fails.
Writing to the correct documents folder should have no effect whether a shoebox is used or not. He's not attempting to write to the shoebox (which shouldn't be done anyway).
I've deleted the xcode directory completely from finder.
I've removed the KILLFILE GLsavepath$ "/qualeautore.ini"
instruction...
... and now the app running without error :good:
It's very incredible and very strange :blink:
I'm going crazy.
Could well be a bug - better report it in the Bug Report section.