INI file error under iPhone

Previous topic - Next topic

Neurox

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 :

Code (glbasic) Select

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 ""
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

Whats the error ?

Have you checked to see if there are any non-standard letters in the GLsavepath$ variable ?

Neurox

Quote from: MrTAToad on 2011-Mar-04
Whats the error ?

This :



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

Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

Better make a bug post about it!

ampos

Check that you are not using a shoebox before writing...
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Neurox

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 :(
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

Ian Price

Shoebox actually works on my iPod - for sound and graphics, but apparently not on everyones... :S
I came. I saw. I played.

ampos

Shoebox does work on iPhone. I use it on Krakout.  But writings on shoebox fails.
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Ian Price

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 came. I saw. I played.

Neurox

I've deleted the xcode directory completely from finder.
I've removed the
Code (glbasic) Select
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.
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

MrTAToad

Could well be a bug - better report it in the Bug Report section.