RB Smissaert wrote:
Did you make the alterations to make the dll VB compatible?
Nope. C/C++ all the way.
-
To unsubscribe, send email to [EMAIL PROTECTED]
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> OK, I understand better now. This though doesn't seem quite right to
> me:
>
> 0, //sqlite3_libversion,
>
> It looks sqlite3_libversion should be a string.
No, this is a list of function
RB Smissaert wrote:
OK, I understand better now. This though doesn't seem quite right to
me:
0, //sqlite3_libversion,
It looks sqlite3_libversion should be a string.
No, this is a list of function pointers. C has no notion of the *name*
of the function, only its address. Functions are called
riginal Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 25 February 2007 02:52
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> Due to me not knowing C I hadn't realized that this structure had to be
left
> intact.
It's
RB Smissaert wrote:
Due to me not knowing C I hadn't realized that this structure had to be left
intact.
It's not a C thing as such, it's the way Dr Hipp has designed it. It's
an interface - the third entry in the list always does the same thing
but the function that actually runs to do tha
ntact. Looking through the postings in the SQLite NG these kind of warnings
are quite common and maybe this is as good as it gets.
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 23:38
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling wi
RB Smissaert wrote:
Will give that a try and see if it gives any less warnings.
OK, but as Dennis suggested and Dr Hipp has confirmed this isn't the way
to go. I was assuming the VB thing was a bit of a hack and didn't really
read enough of the C code.
Martin
--
RB Smissaert wrote:
How would I do this:
compile with -DSQLITE_OMIT_LOAD_EXTENSION=1 to leave it out.
Remember that link tab I said about earlier?
There's a C/C++ tab next to it with a Preprocessor definitions edit
box. I think what you want is to put ",SQLITE_OMIT_LOAD_EXTENSION=1" at
the
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 20:06
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
"RB Smissaert" <[EMAIL PROTECTED]> wrote:
> All C4028 warnings originate from this code block:
>
> const sql
Sure, but it seems I messed up the source code, so maybe VC6++ is not to
blame. Not sure now how to correct it though.
RBS
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 20:37
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC
--- RB Smissaert <[EMAIL PROTECTED]> wrote:
> Could try with MinGW and MSYS and it may give less warnings, but would it
> produce a dll that is any better? If possible I want to avoid installing
> more software when I already have VC6++.
It's completely up to you. How much time do you want to spen
:06
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
"RB Smissaert" <[EMAIL PROTECTED]> wrote:
> All C4028 warnings originate from this code block:
>
> const sqlite3_api_routines sqlite3_apis = {
[...]
> sqlite3_busy_timeout,
> //sqlit
age-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 19:45
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
--- RB Smissaert <[EMAIL PROTECTED]> wrote:
> Downloaded it from the one you pointed to me:
You're confusing me with someone else.
He
Will give that a try and see if it gives any less warnings.
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 19:21
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> Did you make the alterations
-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
The suggested changes the web site recommends are incorrect:
loadext.c
Comment out the following lines is loadext.c by adding 2 back slashes
("//") to the start of the
line. This prevents errors due to our changes.
sqlit
"RB Smissaert" <[EMAIL PROTECTED]> wrote:
> All C4028 warnings originate from this code block:
>
> const sqlite3_api_routines sqlite3_apis = {
[...]
> sqlite3_busy_timeout,
> //sqlite3_changes,
> //sqlite3_close,
> sqlite3_collation_needed,
> sqlite3_collation_needed16,
>
> Not sure it
--- RB Smissaert <[EMAIL PROTECTED]> wrote:
> Downloaded it from the one you pointed to me:
You're confusing me with someone else.
Here's a way to build sqlite3.dll without Microsoft tools using the
official sources:
Grab and install MinGW and MSYS (google for it),
download http://sqlite.org/sq
RB Smissaert wrote:
Microsoft Visual C++ 6 Enterprise edition.
Hmm. I'm using VC6++ Pro. I wonder if it's safe to assume the compilers
are the same and the difference is that I don't have the Enterprisey
middleware gubbins.
I think it is the latest before .net came in.
Dunno. I kind of l
Original Message-
> From: Martin Jenkins [mailto:[EMAIL PROTECTED]
> Sent: 24 February 2007 18:52
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] compiling with VC++
>
> RB Smissaert wrote:
> > Thanks, that is very helpful and reassuring as well.
> > Will se
RB Smissaert wrote:
Thanks, that is very helpful and reassuring as well.
Will see if I can figure out then what is causing this one:
warning C4028, as you say that could be a typo.
I've just built 3.3.12 source with VC6 and didn't see that error. I
changed the warning level to 4 and got 500 wa
RB Smissaert wrote:
Did you make the alterations to make the dll VB compatible?
I don't think Dennis was building the VB version. The lines that Todd
says you have to comment out - did you comment them out or replace them
with a 0?
I haven't analysed the code fully but I'm a bit suspicious
: 24 February 2007 19:06
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
The function signatures at the lines in question look wrong to me.
Do you have the correct version of sqlite3ext.h?
--- RB Smissaert <[EMAIL PROTECTED]> wrote:
> Here examples of all 3, all from
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 18:52
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> Thanks, that is very helpful and reassuring as well.
> Will see if I can figure out then what is c
*
> */
> sqlite3_overload_function,
> };
>
>
> RBS
>
>
> -Original Message-
> From: Joe Wilson [mailto:[EMAIL PROTECTED]
> Sent: 24 February 2007 17:29
> To: sqlite-users@sqlite.org
Did you make the alterations to make the dll VB compatible?
RBS
-Original Message-
From: Dennis Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 18:39
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> Thanks, will have a look at t
,
sqlite3_value_bytes16,
sqlite3_value_numeric_type,
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 18:11
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> When compiling this source code I get 265 warning, wh
RB Smissaert wrote:
Thanks, will have a look at that.
Do you know from experience that it will compile OK with VC6++?
I use VC 6.0 and it compiles just fine. I did not follow the
instructions on the web site. I didn't even read them. I just put all
of the C files into a single director
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> When compiling this source code I get 265 warning, which doesn't really
> worry me that much as it all seems to be working fine, but in general what
> kind of warning should be taken seriously?
This has come up the l
***
*/
sqlite3_overload_function,
};
RBS
-Original Message-
From: Joe Wilson [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 17:29
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
They're probably harmless.
Even so, can you post the file name/line
RB Smissaert wrote:
When compiling this source code I get 265 warning, which doesn't really
worry me that much as it all seems to be working fine, but in general what
kind of warning should be taken seriously?
This has come up the list before. Dr Hipp assigns a lot more weight to
his tests pas
They're probably harmless.
Even so, can you post the file name/line of one example of each of the
following 3 warnings as they seem odd:
warning C4047: 'initializing' : '__int64 (__cdecl *)(struct Mem *)' differs
in levels of indirection from 'char *(__cdecl *)(const char *,char *)'
warning C41
d
RBS
-Original Message-----
From: RB Smissaert [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 16:18
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
Thanks, that is it, nice and simple.
RBS
-Original Message-----
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Se
Thanks, that is it, nice and simple.
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 15:40
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote:
> Now what do I do make it compile a dll cal
RB Smissaert wrote:
Now what do I do make it compile a dll called SQLite3VB.dll?
I think it defaults to the project name, but have a look at the Link tab
in the Project|Settings dialog (Alt-F7) - there's an edit box titled
"Output file name" which might do what you want.
Martin
--
-Original Message-
From: RB Smissaert [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 14:31
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
Think I got this fixed now.
It simply was something I had overlooked to change:
//const char *sqlite3_libversion(void);
BSTR
RB Smissaert [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 14:31
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
Think I got this fixed now.
It simply was something I had overlooked to change:
//const char *sqlite3_libversion(void);
BSTR __stdcall sqlite3_libversion(void);
[mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 13:47
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] compiling with VC++
OK, thanks a lot.
I think I have made a lot of progress, probably because of the different
source files you pointed me to.
I get one error though and that has to do with
) : error C2373: 'sqlite3_libversion' :
redefinition; different type modifiers
No idea what to do about this.
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 13:29
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling wit
RB Smissaert wrote:
Thanks, will have a look at that.
Do you know from experience that it will compile OK with VC6++?
I'm pretty sure I've compiled it with VC6++. I've been compiling on
Debian and Solaris machines recently and have sort of lost track of
building stuff on Windows. I tried upgr
Thanks, will have a look at that.
Do you know from experience that it will compile OK with VC6++?
RBS
-Original Message-
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: 24 February 2007 12:02
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] compiling with VC++
RB Smissaert wrote
RB Smissaert wrote:
Could anybody pass me step by step instructions to compile the source with
MS VC++ ? I don't code or compile in C at all and only code in VB/VBA.
There a some instructions at:
http://www.sqlite.org/cvstrac/wiki?p=HowToCompile
and a zip file - sqlite-source-3_3_13.zip - co
Could anybody pass me step by step instructions to compile the source with
MS VC++ ? I don't code or compile in C at all and only code in VB/VBA.
I am following the tutorial by Todd Tanner:
http://www.tannertech.net/sqlite3vb/index.htm
But this is with Visual Studio Net and I am running in some p
42 matches
Mail list logo