Re: [sqlite] [SQLite]Basic queries

2014-11-13 Thread Shinichiro Yoshioka
Thank you for your promt answer!

I understood.

2014-11-14 9:33 GMT+09:00 :

> On Thursday, November 13, 2014 04:27:02 PM Shinichiro Yoshioka wrote:
> > Is there any special reason why there are 2 dlls on the page?
> > And the dll for win 32bits doesn't work on win 64bits OS
> > in spite of exsistance of WOW64?
>
> While a 32 bit version will work on a 64 bit Windows as you said, it will
> not
> work when linked to a 64 bit application. The 64-bit version is supplied
> for
> developers of 64-bit applications.
>
> >
> > 2) I have compiled the amalgamation source code on win7 32bits OS.
> > Though I haven't specified any compile option, in this case,
> > For which OS platform is the generated binary?
> > for 32bits win OS or 64bits win OS?
>
> 32 bits.
>
> Charles
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] [SQLite]Basic queries

2014-11-13 Thread Shinichiro Yoshioka
Thank you for your explanation!.
I understood.

2014-11-14 9:33 GMT+09:00 Igor Tandetnik :

> On 11/13/2014 7:27 PM, Shinichiro Yoshioka wrote:
>
>> 1) For Windows platform, there are 2 dlls on SQLite download page.
>>  means, for 32bits and 64bits Windows OS.
>>  However, in my understanding, the dll for win 32bits can work
>>  also on 64bits win OS with WOW64 as it is.
>>
>>  Is there any special reason why there are 2 dlls on the page?
>>
>
> A 32-bit application can only load 32-bit DLLs, and a 64-bit application
> can only load 64-bit DLLs. Windows can run both kinds of applications, but
> each must have a matching flavor of DLLs it uses.
>
>  2) I have compiled the amalgamation source code on win7 32bits OS.
>>  Though I haven't specified any compile option, in this case,
>>  For which OS platform is the generated binary?
>>  for 32bits win OS or 64bits win OS?
>>
>
> Depends on which compiler you built it with - 32-bit or 64-bit.
> --
> Igor Tandetnik
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] [SQLite]Basic queries

2014-11-13 Thread Igor Tandetnik

On 11/13/2014 7:27 PM, Shinichiro Yoshioka wrote:

1) For Windows platform, there are 2 dlls on SQLite download page.
 means, for 32bits and 64bits Windows OS.
 However, in my understanding, the dll for win 32bits can work
 also on 64bits win OS with WOW64 as it is.

 Is there any special reason why there are 2 dlls on the page?


A 32-bit application can only load 32-bit DLLs, and a 64-bit application 
can only load 64-bit DLLs. Windows can run both kinds of applications, 
but each must have a matching flavor of DLLs it uses.



2) I have compiled the amalgamation source code on win7 32bits OS.
 Though I haven't specified any compile option, in this case,
 For which OS platform is the generated binary?
 for 32bits win OS or 64bits win OS?


Depends on which compiler you built it with - 32-bit or 64-bit.
--
Igor Tandetnik

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] [SQLite]Basic queries

2014-11-13 Thread sqlite
On Thursday, November 13, 2014 04:27:02 PM Shinichiro Yoshioka wrote:
> Is there any special reason why there are 2 dlls on the page?
> And the dll for win 32bits doesn't work on win 64bits OS
> in spite of exsistance of WOW64?

While a 32 bit version will work on a 64 bit Windows as you said, it will not 
work when linked to a 64 bit application. The 64-bit version is supplied for 
developers of 64-bit applications.

> 
> 2) I have compiled the amalgamation source code on win7 32bits OS.
> Though I haven't specified any compile option, in this case,
> For which OS platform is the generated binary?
> for 32bits win OS or 64bits win OS?

32 bits.

Charles
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users