It would be great if web2py.exe loads sqlite3.dll from the same directory as web2py.exe.
Unfortunately, web2py loads C:\Windows\System32\sqlite3.dll which is the most unpredictable version of sqlite3.dll on Windows. I didn't realize this until I tried replacing C:\web2py\sqlite3.dll with an encryption-enabled version. I confirmed using Process Explorer to see which sqlite3.dll was loaded by web2py.exe. I have 3 different sqlite3.dll, and this is the ideal load order: 1. C:\Web2py\sqlite3.dll -- bundled with web2py 2. C:\Python25\DLLs\sqlite3.dll -- bundled with Python 3. C:\Windows\System32\sqlite3.dll -- very old version installed by unknown software (unpredictable)

