Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi all, :)
I'm junior developer in BREW, i'm able to create file and open it but not able to read or write in that.

Try this one:
You might not be closing the file in the end.
IFile* pIFile = IFILEMGR_OpenFile(m_pIFileMgr, fileName , _OFM_CREATE);
IFILE_Write(pIFile, byteDataPtr, nBytes);
IFILE_Release(pIFile);

Try this one:
You might not be closing the file in the end.
IFile* pIFile = IFILEMGR_OpenFile(m_pIFileMgr, fileName , _OFM_CREATE);
IFILE_Write(pIFile, byteDataPtr, nBytes);
IFILE_Release(pIFile);

can you show me cod snipt

can you show me cod snipt

Samiam just did show you the code...
Quote:IFile* pIFile = IFILEMGR_OpenFile(m_pIFileMgr, fileName , _OFM_CREATE);
IFILE_Write(pIFile, byteDataPtr, nBytes);
IFILE_Release(pIFile);

Samiam just did show you the code...
Quote:IFile* pIFile = IFILEMGR_OpenFile(m_pIFileMgr, fileName , _OFM_CREATE);
IFILE_Write(pIFile, byteDataPtr, nBytes);
IFILE_Release(pIFile);

probably he was asking sanjana to share her code sniplet in which she's facing problem

probably he was asking sanjana to share her code sniplet in which she's facing problem