When I try to open a SQLite database, the script exits within the _SQLite_Open() function. 
	I have debugged the code in SQLite3.au3 and the culprit is the DLL call to xx.  Specifically to this code:
 
	Local $avRval = DllCall($__g_hDll_SQLite, "int:cdecl", "sqlite3_open_v2", "struct*", $tFilename, _ ; UTF-8 Database filename
			"ptr*", 0, _ ; OUT: SQLite db handle
			"int", $iAccessMode, _ ; database access mode
			"ptr", 0)
	Using ConsoleWrite() calls, I have determined that the script makes it to the DLLCall, but exits without returning from it.  I have examined the DLL file and I see the sqlite3_open_v2 entry.
 
	Here is my test code:
 
#include <SQLite.au3>
_Main()
Func _Main()
	_SQLite_Startup("winSQLite3.dll")
	If @error Then
		MsgBox(0, "SQLite Error", "SQLite3.dll Can't be Loaded!")
		Exit -1
	EndIf
	ConsoleWrite("-  _SQLite_LibVersion = " & _SQLite_LibVersion() & @CRLF)
	_SQLite_Open() ; Creates a :memory: database and don't use its handle to refer to it
	ConsoleWrite("-" & @ScriptLineNumber & ": HERE" & @CRLF)
	If @error Then
		MsgBox(0, "SQLite Error", "Can't create a memory Database!")
		Exit -1
	EndIf
	_SQLite_Close()
	ConsoleWrite("-" & @ScriptLineNumber & ": HERE" & @CRLF)
	_SQLite_Shutdown()
EndFunc   ;==>_Main