[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqlite-users
Subject:    Re: [sqlite] Using sqlite3_exec  in VB
From:       "Igor Tandetnik" <itandetnik () mvps ! org>
Date:       2008-12-28 16:09:08
Message-ID: gj88bd$ork$1 () ger ! gmane ! org
[Download RAW message or body]

"S Thiyagarajan" <thiyagss@yahoo.com>
wrote in message news:219394.15885.qm@web32104.mail.mud.yahoo.com
>> Facing some issue in using sqlite3_exec in my VB application.

If you are trying to directly import SQLite API into VB (with Declare 
statements), that's not going to work. SQLite functions use cdecl 
calling convention, while VB only understands stdcall.

You can install ODBC driver for SQLite 
(http://www.sqlite.org/cvstrac/wiki?p=SqliteOdbc), then you can work 
with it from VB as you would with any other database.

Also, there are a few COM-based wrappers listed here 
(http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers) that you should be 
able to use from VB.

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic