ads

vendredi 11 septembre 2015

C++: open file for writing in the LocalStorage



Hi guys, could you tell me how to open file for writing in the phone app LocalStorage for the non-unlocked handset (regular app for store)?
Code below doesn't work :(

Code:


FILE *tmp;
auto tmpPath = Windows::Storage::ApplicationData::Current->LocalFolder->Path + "\tmp.txt";
auto tmpErr = _wfopen_s(&tmp, tmpPath->Data(), L"w");


Any suggestions?



Aucun commentaire:

Enregistrer un commentaire