Re: [sqlite] SQLite and Windows Metro Style
On Fri, Mar 16, 2012 at 10:05 AM, Philipp Kursawe wrote: > > > > > > Click to get to http://www.sqlite.org/src/info/cd70bc4b78 then look > beside > > "Other Links:" and click on either "Tarball" or "ZIP Archive". > > > > thanks! found it. Compiling without awk is not possible? > On my windows7 box, I run: nmake /f makefile.msc sqlite3.c It looks like that command requires both gawk and tclsh85. I don't see anything else that you are unlikely to already have installed. You'll also need TCL libraries in order to do nmake /f makefile.msc test But you don't necessarily have to do that. > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
> > > Click to get to http://www.sqlite.org/src/info/cd70bc4b78 then look beside > "Other Links:" and click on either "Tarball" or "ZIP Archive". > > thanks! found it. Compiling without awk is not possible? ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On Fri, Mar 16, 2012 at 9:49 AM, Philipp Kursawe wrote: > Hello > > > > > How can I download the current WinRT efforts and compile them myself > > into a > > > WinRT component? > > > > > > > Download the latest winRT code from > > http://www.sqlite.org/src/timeline?r=winrt > > > > All I see there is a checkin history. Clicking on files does give me > files but no tarbar or something to download the winrt branch. > Click to get to http://www.sqlite.org/src/info/cd70bc4b78 then look beside "Other Links:" and click on either "Tarball" or "ZIP Archive". > > > Phil > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
Hello > > How can I download the current WinRT efforts and compile them myself > into a > > WinRT component? > > > > Download the latest winRT code from > http://www.sqlite.org/src/timeline?r=winrt > > All I see there is a checkin history. Clicking on files does give me files but no tarbar or something to download the winrt branch. Phil ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On Fri, Mar 16, 2012 at 7:09 AM, Philipp Kursawe wrote: > Good to read that a WinRT compatible version is on the way. > I had struggle myself to get the current 3.7 code to compile without > compiler complains about uncast assignments. Let alone the non-existent > Win32 APIs in the WinRT environment. > By the way there is already a compile time preprocessor define for WinRT > apps WINAPI_FAMILY=WINAPI_FAMILY_APP > I think there is no need to find out during runtime if the code is running > inside the WinRT environment. > > How can I download the current WinRT efforts and compile them myself into a > WinRT component? > Download the latest winRT code from http://www.sqlite.org/src/timeline?r=winrt > > Thanks! > > Phil > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
Good to read that a WinRT compatible version is on the way. I had struggle myself to get the current 3.7 code to compile without compiler complains about uncast assignments. Let alone the non-existent Win32 APIs in the WinRT environment. By the way there is already a compile time preprocessor define for WinRT apps WINAPI_FAMILY=WINAPI_FAMILY_APP I think there is no need to find out during runtime if the code is running inside the WinRT environment. How can I download the current WinRT efforts and compile them myself into a WinRT component? Thanks! Phil ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On Thu, Mar 1, 2012 at 7:41 PM, Simon Slavin wrote: > > On 2 Mar 2012, at 12:33am, Richard Hipp wrote: > > > We are told that metro style applications may not use many of the win32 > > APIs that SQLite currently does use (APIs such as LoadLibrary(), > > SetFilePointer(), GetFileSize(), etc.) > > I'll have to talk to my colleague. Is it possible he used posix-style > calls instead of windows-style calls ? > I don't think so. But I don't really know that much about it. I'm curious to know what is going on too. > > Simon. > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On 2 Mar 2012, at 12:33am, Richard Hipp wrote: > We are told that metro style applications may not use many of the win32 > APIs that SQLite currently does use (APIs such as LoadLibrary(), > SetFilePointer(), GetFileSize(), etc.) I'll have to talk to my colleague. Is it possible he used posix-style calls instead of windows-style calls ? Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On Thu, Mar 1, 2012 at 6:51 PM, Himadri Sarkar wrote: > Hi, > I am a newbie to the SQLite user group and was wondering if anyone has > tried to use SQLite to build the new Windows metro style applications and > if yes is there a step by step approach written down somewhere? > We are told that metro style applications may not use many of the win32 APIs that SQLite currently does use (APIs such as LoadLibrary(), SetFilePointer(), GetFileSize(), etc.) We are currently working on a new version of SQLite that avoids the missing interfaces. You can follow our progress in this branch: http://www.sqlite.org/src/timeline?r=winrt Note that, as far as we can tell, there is no way to configure SQLite such that it will work for both desktop applications (windows 7, vista, winXP, winNT, win95) and metro style applications (winRT) at the same time. You have to choose one or the other at compile-time. Currently the default is for desktop applications and so if you want to run on winRT you have to add the -DSQLITE_OS_WINRT=1 option to your compiler. We'll remove that requirement if and when we can figure out a way to make the platform determination at run-time. > Regards, > -- > Himadri > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLite and Windows Metro Style
On 1 Mar 2012, at 11:51pm, Himadri Sarkar wrote: > I am a newbie to the SQLite user group and was wondering if anyone has > tried to use SQLite to build the new Windows metro style applications and > if yes is there a step by step approach written down somewhere? I have a colleague who has done it, with a pre-release version of Windows 8. There was no problem with it. Just include the C source code for the API in you project and make sure your compiler knows it's C and not C++. His project was a very simple demonstration and didn't use every facility of SQLite. And he didn't put it through thorough testing. So it's possible there is a problem hidden there. But the basics (opening, exec INSERT and SELECT, closing) worked as expected. Simon. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] SQLite and Windows Metro Style
Hi, I am a newbie to the SQLite user group and was wondering if anyone has tried to use SQLite to build the new Windows metro style applications and if yes is there a step by step approach written down somewhere? Regards, -- Himadri ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users