Hi, trying to enable sd card for sqlite usage. Using code is bellow and code throws NotSupportedException. How to solve this problem?
using GHIElectronics.NETMF.IO;
using Microsoft.SPOT.IO;
namespace OMR.MF.SqliteApp
{
public class Program
{
private static PersistentStorage _storage;
private static VolumeInfo _volumeInfo;
public static void Main()
{
_storage = new PersistentStorage("SD");
_storage.MountFileSystem();
_volumeInfo = VolumeInfo.GetVolumes()[0];
GHIElectronics.NETMF.SQLite.Database db = new GHIElectronics.NETMF.SQLite.Database();
db.Open("\\SD\\test.dat"); // OR ":memory:"
// ...
}
}
}
Thanks