I have confirmed that the unencrypted version works fine. Perhaps this is the issue, that it is trying to ExpandFilename on a string that is prepended by ":cerod:".
On Wed, Feb 11, 2015 at 7:37 PM, E. Timothy Uy <t...@loqu8.com> wrote: > I'm working on switching our custom build of System.Data.SQLite from our > custom build and am having problems opening a CEROD database. Going back > over our code, I see that I wrote in Open(): > > // TU: Need to split out "cerod" prepend to filename before > expandfilename > > string pattern = "(:.*:)(.*)"; > > Match m = Regex.Match(fileName, pattern); > > if (m.Groups.Count == 3) > > { > > string prefix = m.Groups[1].ToString(); > > string cleanFileName = m.Groups[2].ToString(); > > cleanFileName = ExpandFileName(cleanFileName); > > > > fileName = prefix + cleanFileName; > > } > > else > > { > > fileName = ExpandFileName(fileName); > > } > > > Maybe something similar is needed? > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users