Example #1
0
    public static ASqlite OpenWinapi()
    {
        string copy = Program.Settings.db_copy_winapi;

        if (copy != null)
        {
            Program.Settings.db_copy_winapi = null;
            AFile.CopyTo(copy, AFolders.ThisApp, IfExists.Delete);
        }
        return(new ASqlite(AFolders.ThisAppBS + "winapi.db", SLFlags.SQLITE_OPEN_READONLY));
    }