Re: [C#-SQLite] Digest for csharp-sqlite@googlegroups.com - 1 Message in 1 Topic

48 views
Skip to first unread message

Michael Schoneman

unread,
Jun 18, 2012, 8:00:32 PM6/18/12
to csharp...@googlegroups.com
I haven't had a chance to run stuff under the new preview version yet, but just got that version installed so I'll take a look. 

On Jun 18, 2012, at 6:39 PM, "csharp...@googlegroups.com" <csharp...@googlegroups.com> wrote:

Group: http://groups.google.com/group/csharp-sqlite/topics

    GuyJ <guymj...@gmail.com> Jun 17 07:27PM -0700  

    I spent most of the day today trying to use the WinRT version of the code
    from the hg repository. I thought I must be doing something stupid because
    I couldn't make it work. Now I realize that the stupid thing that I was
    doing was not having tried the included test project first. After
    resolving the xaml and metro helper class changes introduced in the RC I
    found that the samples are all broken too.
     
    In the test application it is getting an error saying "unable to open
    database file" or SqliteSyntaxException with "no such table TEST_TABLE"
     
    I don't have much of a clue as to what the cause is, but in MY use case (an
    existing db) it appears that the ultimate error that is occurring is in the
    btree_c.cs file and the lockBtree function. There it does some voodoo to
    determine if the file is a valid sqlite file and fails with SQLITE_NOTADB.
    I've confirmed that the db is ok by copying the file from my localstate
    directory and opening it using the firefox SQLite Manager tool without
    problems. I checked it's integrity and even vacuumed it and reintroduced
    it with no luck.
     
    I realize that this code is based on Metro Beta code so I'm not here to
    complain. I'm just curious if anyone else has taken a look at this yet and
    has any idea what is going on.

     

You received this message because you are subscribed to the Google Group csharp-sqlite.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

tempy

unread,
Jun 19, 2012, 8:47:09 AM6/19/12
to C#-SQLite
Hi,
I'm just starting to port an existing WP7 project that uses C#-Sqlite
to WinRT. I had assumed that there were no plans to get C#-Sqlite to
work in WinRT because I didn't see any compile flags for winrt in the
compiler options file in the wiki, and I was starting to work on
reimplementing the persistence layer - obviously something I'd like to
avoid at all costs.

Now that I know that there is planned support for WinRT - is there any
place that this support is somehow documented? Is there any vague date
for when it should be functional? This would really save me weeks of
work, so many thanks for the efforts!

mike

On Jun 19, 2:00 am, Michael Schoneman <mschone...@gmail.com> wrote:
> I haven't had a chance to run stuff under the new preview version yet, but
> just got that version installed so I'll take a look.
>
> On Jun 18, 2012, at 6:39 PM, "csharp...@googlegroups.com" <
>
> csharp...@googlegroups.com> wrote:
>
>   Today's Topic Summary
>
> Group:http://groups.google.com/group/csharp-sqlite/topics
>
>    - WinRT / Metro for Release Preview <#group_thread_0> [1 Update]
>
>   WinRT / Metro for Release
> Preview<http://groups.google.com/group/csharp-sqlite/t/cab823bda80d8e8d>
>
>    GuyJ <guymjack...@gmail.com> Jun 17 07:27PM -0700
> You can post via email <csharp...@googlegroups.com>.
> To unsubscribe from this group,
> send<csharp-sqlit...@googlegroups.com>an empty message.
> For more options,
> visit<http://groups.google.com/group/csharp-sqlite/topics>this group.
Reply all
Reply to author
Forward
0 new messages