<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sqlwinrt Discussions Rss Feed</title><link>http://sqlwinrt.codeplex.com/discussions</link><description>sqlwinrt Discussions Rss Description</description><item><title>New Post: How to store sqlite file in document library for WINRT</title><link>http://sqlwinrt.codeplex.com/discussions/432429</link><description>&lt;div style="line-height: normal;"&gt;loganathantvm&lt;br /&gt;
&lt;br /&gt;
Here is a database compatible with WinRT:&lt;br /&gt;
&lt;a href="https://www.kellermansoftware.com/p-49-ninja-winrt-database.aspx" rel="nofollow"&gt;https://www.kellermansoftware.com/p-49-ninja-winrt-database.aspx&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>asavasamuel</author><pubDate>Wed, 13 Mar 2013 12:34:38 GMT</pubDate><guid isPermaLink="false">New Post: How to store sqlite file in document library for WINRT 20130313123438P</guid></item><item><title>New Post: How to store sqlite file in document library for WINRT</title><link>http://sqlwinrt.codeplex.com/discussions/432429</link><description>&lt;div style="line-height: normal;"&gt;I'm try to store sqlite(.db) file in document library for WINRT, But unable to store the file it's throw some error.&lt;br /&gt;
Error Details :&lt;br /&gt;
Could not open database file: C:\Users\xxxxxxx\Documents\devices_WPFclient\people.db (CannotOpen)&lt;br /&gt;
&lt;/div&gt;</description><author>loganathantvm</author><pubDate>Fri, 08 Feb 2013 05:27:00 GMT</pubDate><guid isPermaLink="false">New Post: How to store sqlite file in document library for WINRT 20130208052700A</guid></item><item><title>New Post: When will it support ARM?</title><link>http://sqlwinrt.codeplex.com/discussions/400049</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;When will it support ARM?&lt;/p&gt;
&lt;/div&gt;</description><author>vistart</author><pubDate>Fri, 19 Oct 2012 13:00:05 GMT</pubDate><guid isPermaLink="false">New Post: When will it support ARM? 20121019010005P</guid></item><item><title>New Post: How to create Schemas</title><link>http://sqlwinrt.codeplex.com/discussions/393696</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; How do i create multiple schemas&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>phanikiranchalla</author><pubDate>Thu, 30 Aug 2012 05:17:21 GMT</pubDate><guid isPermaLink="false">New Post: How to create Schemas 20120830051721A</guid></item><item><title>New Post: Where is the x64 binary?</title><link>http://sqlwinrt.codeplex.com/discussions/337281</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Download the forked version&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bitbucket.org/timbielawski/sqlitemetro"&gt;https://bitbucket.org/timbielawski/sqlitemetro&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>timbielawski</author><pubDate>Thu, 23 Aug 2012 14:26:25 GMT</pubDate><guid isPermaLink="false">New Post: Where is the x64 binary? 20120823022625P</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is your sqlite and application build with the same configuration? (both should&amp;nbsp;be build with either&amp;nbsp;x_64 or x_86)&lt;/p&gt;&lt;/div&gt;</description><author>nijain</author><pubDate>Thu, 26 Jul 2012 07:10:14 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120726071014A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;I am facing&amp;nbsp;following error,&amp;nbsp; can any one help me how to reslove this &lt;strong&gt;An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) &lt;/strong&gt;when it reache to&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;SQlite.Database&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt; db = &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #0000ff; font-size: x-small;"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt; SQLite.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #2b91af; font-size: x-small;"&gt;Database&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; color: #a31515; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #a31515; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; color: #a31515; font-size: x-small;"&gt;"bookdb"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;&lt;span style="font-family: Consolas; font-size: x-small;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>sureshnallamothu</author><pubDate>Thu, 26 Jul 2012 06:50:29 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120726065029A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@oppqw: &amp;nbsp;have you been using SQLite3-WinRT?&lt;/p&gt;&lt;/div&gt;</description><author>tommy86r</author><pubDate>Wed, 27 Jun 2012 14:56:21 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120627025621P</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;ok，thank&amp;nbsp; you~&amp;nbsp; now&amp;nbsp; I can&amp;nbsp; use&amp;nbsp; it.&lt;/p&gt;&lt;/div&gt;</description><author>oppqw</author><pubDate>Wed, 27 Jun 2012 04:33:11 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120627043311A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I forked and fixed, it was passing the tests a couple of weeks ago ... &amp;#65279;&lt;/p&gt;
&lt;p&gt;&amp;#65279;&amp;#65279;&lt;a href="https://bitbucket.org/timbielawski/sqlitemetro"&gt;https://bitbucket.org/timbielawski/sqlitemetro&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;#65279;&amp;#65279;&amp;#65279;&amp;#65279;&amp;#65279;&lt;/p&gt;
&lt;/div&gt;</description><author>timbielawski</author><pubDate>Tue, 26 Jun 2012 16:30:47 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120626043047P</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@oppqw: You should use the Release Preview ready, async version of an SQLWrapper from&amp;nbsp;&lt;a href="https://github.com/doo/SQLite3-WinRT"&gt;https://github.com/doo/SQLite3-WinRT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This version here on codeplex is outdated and not maintained I fear. This particular error you are getting comes from the Release Preview WinRT compiler beeing more restrictive with incoming arguments.&lt;/p&gt;&lt;/div&gt;</description><author>phil_ke</author><pubDate>Tue, 26 Jun 2012 11:10:12 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120626111012A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I think it don't work on Relase Preview...&lt;/p&gt;
&lt;p&gt;work to anyone?&lt;/p&gt;&lt;/div&gt;</description><author>tommy86r</author><pubDate>Tue, 26 Jun 2012 10:34:28 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120626103428A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have download SQLiteMetro，but&amp;nbsp; when&amp;nbsp; I compile it，it&amp;nbsp; has error：&amp;ldquo;&amp;nbsp;error C3952: 'Platform::Array&amp;lt;__TArg,__dimension&amp;gt; ^' : WinRT does not support 'in/out' arrays. Use 'const Array&amp;lt;&amp;gt;^ for 'in' and 'WriteOnlyArray' or 'Array^*' for 'out' on public APIs.'&amp;nbsp;c:\users\来\desktop\mnemonicwme-sqlitemetro-4fa0918a6a77\mnemonicwme-sqlitemetro-4fa0918a6a77\sqlitemetro\statement.h&amp;nbsp;35&amp;nbsp;1&amp;nbsp;SQLiteMetro&lt;br /&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;can&amp;nbsp; you&amp;nbsp; give&amp;nbsp; me&amp;nbsp; some&amp;nbsp; advice?&amp;nbsp; thank&amp;nbsp; you!&lt;/p&gt;&lt;/div&gt;</description><author>oppqw</author><pubDate>Tue, 26 Jun 2012 10:00:42 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120626100042A</guid></item><item><title>New Post: Where is the x64 binary?</title><link>http://sqlwinrt.codeplex.com/discussions/337281</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have download SQLiteMetro，but&amp;nbsp; when&amp;nbsp; I compile it，it&amp;nbsp; has error：&amp;ldquo;&amp;nbsp;error C3952: 'Platform::Array&amp;lt;__TArg,__dimension&amp;gt; ^' : WinRT does not support 'in/out' arrays. Use 'const Array&amp;lt;&amp;gt;^ for 'in' and 'WriteOnlyArray' or 'Array^*' for 'out' on public APIs.'&amp;nbsp;c:\users\来\desktop\mnemonicwme-sqlitemetro-4fa0918a6a77\mnemonicwme-sqlitemetro-4fa0918a6a77\sqlitemetro\statement.h&amp;nbsp;35&amp;nbsp;1&amp;nbsp;SQLiteMetro&lt;br /&gt;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;can&amp;nbsp; you&amp;nbsp; give&amp;nbsp; me&amp;nbsp; some&amp;nbsp; advice?&amp;nbsp; thank&amp;nbsp; you!&lt;/p&gt;&lt;/div&gt;</description><author>oppqw</author><pubDate>Tue, 26 Jun 2012 06:41:33 GMT</pubDate><guid isPermaLink="false">New Post: Where is the x64 binary? 20120626064133A</guid></item><item><title>New Post: New SQLite for WinRT Project</title><link>http://sqlwinrt.codeplex.com/discussions/358394</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;While this project was a good starting point for using SQLite with WinRT, it is hopelessly outdated by now. Also, the source code is not fully disclosed (project files and SQLite sources are missing).&lt;/p&gt;
&lt;p&gt;For a more recent project, please have a look at &lt;a href="https://github.com/doo/SQLite3-WinRT"&gt;
SQLite3-WinRT&lt;/a&gt;. It is completely open source,&amp;nbsp;actively maintained and&amp;nbsp;passes the Windows App Certification Kit.&lt;/p&gt;
&lt;/div&gt;</description><author>gdoo</author><pubDate>Tue, 05 Jun 2012 09:51:49 GMT</pubDate><guid isPermaLink="false">New Post: New SQLite for WinRT Project 20120605095149A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>http://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span class="hps"&gt;anyone know&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;if SQLiteMetro&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;supports&lt;/span&gt;&amp;nbsp;&lt;span&gt;Foreign key constraints&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;I&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;tried&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;stm = db.PrepareStatement("CREATE TABLE IF NOT EXISTS C&lt;span&gt;ategory&lt;/span&gt;&amp;nbsp;(Id TEXT PRIMARY KEY, FOREIGN KEY(IdImage) REFERENCES Image(Id)");&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;but&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;it does not work&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>tommy86r</author><pubDate>Mon, 14 May 2012 18:34:10 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120514063410P</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>https://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is your app and sqlitemetro built with different project settings? Both should be built with either 32 or 64 or Any CPU project settings in the configuration manager.&lt;/p&gt;&lt;/div&gt;</description><author>nijain</author><pubDate>Mon, 23 Apr 2012 02:39:36 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120423023936A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>https://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span class="hps"&gt;when I do&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;start the&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;project,&amp;nbsp;&lt;span&gt;I&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;get this error:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;&lt;strong&gt;is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;&lt;span&gt;on this line:&amp;nbsp;&lt;/span&gt;Database db = new Database(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "myDatabase.sqlite"));&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;if I change&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;the&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;project&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;output&amp;nbsp;&lt;span&gt;to winmd, I get any error, &lt;span&gt;for example:&lt;/span&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;&lt;span&gt;Error&lt;span&gt; &lt;/span&gt;10&lt;span&gt; &lt;/span&gt;Type 'ProvaSQLiteMetro.Common.RichTextColumns' contains externally visible field 'ProvaSQLiteMetro.Common.RichTextColumns.RichTextContentProperty'. &amp;nbsp;Fields may only be exposed by structures.&lt;span&gt; &lt;/span&gt;C:\Users\Tommaso\documents\visual studio 11\Projects\ProvaSQLiteMetro\ProvaSQLiteMetro\Common\RichTextColumns.cs&lt;span&gt; &lt;/span&gt;45&lt;span&gt; &lt;/span&gt;51&lt;span&gt; &lt;/span&gt;ProvaSQLiteMetro&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>tommy86r</author><pubDate>Sat, 21 Apr 2012 14:59:16 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120421025916P</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>https://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Function names are case sensitive. Use the lower case like prepareStatement, execute etc..
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;var stmt = db.prepareStatement(query);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;if (stmt.isValid) {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;stmt.execute();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;do {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;} while (stmt.getNextRow())&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;Nikita.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt; font-family:"&gt; tommy86r [email removed]
&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, April 16, 2012 1:22 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Jain, Nikita&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: unable to use sqlite-winrt on Windows 8 consumer preview [sqlwinrt:350139]&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;From: tommy86r&lt;/span&gt;&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody" style="margin-bottom:24.0pt"&gt;
&lt;blockquote style="border:solid #CCCCCC 1.5pt; padding:0in 3.0pt 0in 3.0pt; margin-left:12.0pt; margin-top:3.0pt; margin-right:12.0pt"&gt;
&lt;p&gt;&lt;strong&gt;&lt;i&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;OferEbert wrote:&lt;/span&gt;&lt;/i&gt;&lt;/strong&gt;&lt;i&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;You should not add a refference to
&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&amp;#65279;&amp;#65279;&amp;#65279;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;sqlitemetro.dll only to sqlitemetro.winmd the .dll file should be in the same folder as the .winmd file it works for me.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;Hi, thanks for the help, &lt;span&gt;I&lt;/span&gt;
&lt;span&gt;tried&lt;/span&gt; &lt;span&gt;the example&lt;/span&gt; &lt;span&gt;on the&lt;/span&gt; &lt;span&gt;site&lt;/span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:blue"&gt;using&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt; SQLiteMetro;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:green"&gt;// create/open a database&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt;Database db = &lt;/span&gt;&lt;span style="font-size:14.5pt; color:blue"&gt;new&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt; Database(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, &lt;/span&gt;&lt;span style="font-size:14.5pt; color:#A31515"&gt;&amp;quot;myDatabase.sqlite&amp;quot;&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt;));&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt;Statement stm;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:green"&gt;// create db schema&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt;stm = db.PrepareStatement(&lt;/span&gt;&lt;span style="font-size:14.5pt; color:#A31515"&gt;&amp;quot;CREATE TABLE IF NOT EXISTS person (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, age INTEGER, data BLOB)&amp;quot;&lt;/span&gt;&lt;span style="font-size:14.5pt; color:black"&gt;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt;stm.Execute();&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:14.5pt; color:black"&gt;stm.Dispose();&lt;br&gt;...&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background:white"&gt;&lt;span style="font-size:11.5pt; color:black"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;pre&gt;&lt;span style="font-size:11.5pt"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style="font-size:14.5pt"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style="font-size:11.5pt; font-family:"&gt;but seems that the reference &amp;quot;using SQLiteMetro&amp;quot; isn't sufficient !&lt;/span&gt;&lt;span style="font-size:11.5pt"&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;span style="font-size:11.5pt"&gt;The&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:11.5pt"&gt; &lt;span&gt;database class&lt;/span&gt; &lt;span&gt;is recognized, but the method &lt;/span&gt;prepareStatement &lt;span&gt;isn't recognized&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style="font-size:11.5pt"&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size:9.0pt; font-family:"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>nijain</author><pubDate>Mon, 16 Apr 2012 08:37:45 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120416083745A</guid></item><item><title>New Post: unable to use sqlite-winrt on Windows 8 consumer preview </title><link>https://sqlwinrt.codeplex.com/discussions/350139</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;&lt;strong&gt;OferEbert wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;p&gt;You should not add a refference to ﻿﻿﻿sqlitemetro.dll only to sqlitemetro.winmd the .dll file should be in the same folder as&amp;nbsp; the .winmd file it works for me.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi, thanks for the help,&amp;nbsp;&lt;span class="hps"&gt;I&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;tried&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;the example&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;on the&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;site&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;div style="color: black; background-color: white;"&gt;&lt;pre&gt;&lt;span style="color: blue;"&gt;using&lt;/span&gt; SQLiteMetro;

&lt;span style="color: green;"&gt;// create/open a database&lt;/span&gt;
Database db = &lt;span style="color: blue;"&gt;new&lt;/span&gt; Database(Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, &lt;span style="color: #a31515;"&gt;"myDatabase.sqlite"&lt;/span&gt;));

Statement stm;

&lt;span style="color: green;"&gt;// create db schema&lt;/span&gt;
stm = db.PrepareStatement(&lt;span style="color: #a31515;"&gt;"CREATE TABLE IF NOT EXISTS person (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, age INTEGER, data BLOB)"&lt;/span&gt;);
stm.Execute();
stm.Dispose();&lt;br /&gt;...&lt;/pre&gt;
&lt;/div&gt;
&lt;span style="font-family: 'Segoe UI','Microsoft Sans Serif',Arial,Geneva,sans-serif; white-space: normal;"&gt;
&lt;pre&gt;&lt;span style="font-family: 'Segoe UI','Microsoft Sans Serif',Arial,Geneva,sans-serif; white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
but seems that the reference "using SQLiteMetro" isn't sufficient!&amp;nbsp;&lt;/span&gt;&lt;span class="hps"&gt;The&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;database class&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;is recognized, &lt;span class="hps"&gt;but the method&lt;/span&gt;&amp;nbsp;&lt;/span&gt;prepareStatement &lt;span class="hps"&gt;isn't recognized&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</description><author>tommy86r</author><pubDate>Mon, 16 Apr 2012 07:52:10 GMT</pubDate><guid isPermaLink="false">New Post: unable to use sqlite-winrt on Windows 8 consumer preview  20120416075210A</guid></item></channel></rss>