SQLite Forum

Windows thinks 64bit SQLite3.dll is 32 bit
Login

Windows thinks 64bit SQLite3.dll is 32 bit

(1) By TomM (1222tmiller) on 2021-09-22 04:27:35 [source]

We are using SQLite for registration info, real basic stuff. We are using the 64bit dll. When I add it to my favorite install program and tell it to install it in C:WindowsSystem32 it refuses to do so. It always moves it to the SystemWOW64 directory (meaning Windows sees it as a 32bit dll). Would you set the "bitness" in the next release so that it will install in the right directory?

(2) By anonymous on 2021-09-22 07:03:46 in reply to 1 [link] [source]

Maybe that your setup program is 32-bit, and has %WINDIR%\System32 redirected to %WINDIR%\SysWOW64? Then tell the setup program to copy the file to %WINDIR%\Sysnative.

(3) By anonymous on 2021-09-22 09:41:13 in reply to 1 [link] [source]

You should not install your aplication files in system directories.

(4) By Larry Brasfield (larrybr) on 2021-09-22 15:07:06 in reply to 1 [link] [source]

There is no setting of the "bitness" in the build process for Windows-targeted images except for the usual PE header that results (without any explicit instigation) from specifying the target machine/architecture to the compiler.

It would be completely superfluous or dead wrong to replace any part of the PE header with something that did not match the target for which all the contained code was compiled.

As other posters have suggested, your problem solution lies elsewhere.