> If your VB variable contains an sqlite3* then the item should be passed
ByVal.

Ah, yes, thanks for correcting that.

RBS

On Sun, Jan 24, 2016 at 10:18 PM, Keith Medcalf <kmedcalf at dessus.com> wrote:

>
> > >> I think that unless the argument is going to be altered I have to pass
> > them always ByVal.
> > That wasn't quite right, eg:
> > int sqlite3_close(sqlite3*);
> > sqlite3* is not going to be altered, but I can see that this should be
> > passed ByRef
>
> If your VB variable contains an sqlite3* then the item should be passed
> ByVal.
> ByRef will pass a pointer to a pointer.
>
> Only if the VB Variable is a struct would you pass it ByRef.
>
>
>
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>

Reply via email to