how to create .bin file to save the values for windows mobile
Hi all,
I am working on windows mobile 6.0 and trying to create .bin file to store the data but it is not creating the .bin file.I am using the following code :
Code:
try
{
CFile flcall;
flcall.Open(L"CallLog.bin", CFile::modeCreate|CFile::modeWrite);
CArchive ar1(&flcall, CArchive::store);
ar1.Close();
flcall.Close();
}
catch(...)
{
}
this code works for desktop application.Could you tell me that why it is not creating?
thanks
rohit negi