Error system in sqlite3demo.bas

Apr 7, 2011 at 9:42 PM


Sorry for my English, i'm French

i'm currently testing sqlite3demo.bas, i encounter a system error when i execute à SELECT statement with an empty text field

"Error Microsoft Visual Basic, Return without Gosub" in the Function Utf8PtrtoString() on instruction "Return" from the procedure TESTSELECT

i modified an INSERT statement with an empty field

 Thank you in advance for your help


Apr 8, 2011 at 7:57 AM


Thank you for reporting this bug.

It looks like I mistakenly mixed some VB.NET into the string conversion functions. In both Utf8PtrToString and StringToUtf8Bytes the 'Return' should be 'Exit Function'.

But I see we only get there if some unexpected error occurs in the Unicode conversion - so there might be another mistake there. I'll try to have a closer look over the weekend.


Apr 8, 2011 at 10:23 AM

OK - I have uploaded version 0.6 with the fixes.