Hi, 

 

I use the psvbutls32 dll from windows to access SQLite with Visual Basic.

 

Using  PSVBUTLS_ExecuteDB with a select statement, I remark a memory leak.
Each time I use it, the memory used by my application increase a lot.

 

Is it a known bug, or a bad use of the API

 

 

Thanks a lot for your answers

 

Jérôme

 

Sample of the code

 

    Dim Handle As Long

    Dim sErr As String

    Dim l As Long, c As Long, V As Variant

    Handle = OpenDB("d:\base.db", 0&, sErr)

    If Len(sErr) > 0 Then

        Err.Raise 1003, "SQLiteWrapper", sErr

        Exit Sub

    End If

    

    PSVBUTLS_ExecuteDB Handle, "SELECT * from TAB_PARAMETRES", l, c, V, sErr

    Erase V

    PSVBUTLS_CloseDB Handle

Reply via email to