Hi ,
Can any one know the reason for the System error (-1)
i get at the following statement basicDataProvider->SetFileL(iEikonEnv->FsSession(), _L("Z:\\resource\\apps\\AnimExample\\GuitarPlayer.gif"));
is that because it is unable to find the file ?
yes,
but when i use Open function in RFile class
it returns -1.
but physically i have copied file and placed at the location
Z:\\resource\\apps\\AnimExample\\GuitarPlayer.gif
Forum posts: 82
Well, you answered yourself
Have a look at
http://www.newlc.com/Symbian-OS-Error-Codes.html
-1 means KErrNotFound , So if file is present at the path mentioned by you, this error will disappear
Br
G;p
http://mobisyblog.blogspot.com
Forum posts: 32
yes,
but when i use Open function in RFile class
it returns -1.
but physically i have copied file and placed at the location
Z:\\resource\\apps\\AnimExample\\GuitarPlayer.gif
can u tell me what is wrong in the process?
Forum posts: 82
Hi
Must be some minor problem. Hope it's not a spelling mistake. Normally there are 2 z: drives in Epoc32 folder.
C:\Symbian\9.1\S60_3rd\Epoc32\Data\z\resource\apps
C:\Symbian\9.1\S60_3rd\Epoc32\release\winscw\udeb\z\resource\apps
Where are you copying your file?
Also, try copying to C drive,ie
C:\Symbian\9.1\S60_3rd\Epoc32\winscw\c\AnimExample\GuitarPlayer.gif
and then call RFile Open.... on C:\\AnimExample\\GuitarPlayer.gif
You can send me ur exact code, may be I'll be able to tell u more
Br
G;p
http://mobisyblog.blogspot.com