RE: [sqlite] [VC++ 6] Error compiling VBified source

2007-08-03 Thread Gilles Ganault

At 11:23 03/08/2007 -0700, Robert Simpson wrote:

Download the System.Data.SQLite.DLL I maintain from
http://sqlite.phxsoftware.com


Thanks, I'll check it out :-)

G.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



RE: [sqlite] [VC++ 6] Error compiling VBified source

2007-08-03 Thread Robert Simpson
> -Original Message-
> From: Gilles Ganault [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 03, 2007 11:12 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] [VC++ 6] Error compiling VBified source
> 
> At 09:53 03/08/2007 -0700, Joe Wilson wrote:
> >This has come up before on the list. The instructions are wrong:
> 
> Sorry, should have thought someone had already tried.. and failed :-/
> 
> Browsing through the archives, it looks like the code might 
> not be 100% 
> reliable, so I'll probably look for another solution to have 
> an up-to-date 
> VB-compatible SQLite DLL.
> 

Download the System.Data.SQLite.DLL I maintain from
http://sqlite.phxsoftware.com

I've "wrapped" all the cdecl SQLite calls with corresponding stdcall
_interop calls and made minor adjustments to them for easier marshaling.
The library was designed to be used from .NET or straight C++, but you can
just as easily use it from VB6.  If using it from a non-dotnet language,
.NET runtimes are not required.  It doesn't statically link to them.

You could also download the source from there and compile just the primary
SQLite amalgamation with my modifications.  The interop.c file will have all
the declarations you need to write your imports in VB.

Robert



-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] [VC++ 6] Error compiling VBified source

2007-08-03 Thread Gilles Ganault

At 09:53 03/08/2007 -0700, Joe Wilson wrote:

This has come up before on the list. The instructions are wrong:


Sorry, should have thought someone had already tried.. and failed :-/

Browsing through the archives, it looks like the code might not be 100% 
reliable, so I'll probably look for another solution to have an up-to-date 
VB-compatible SQLite DLL.


Thanks.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-