Just one simple question: I have a VC6++ project now that compiles a dll called SQLiteVB.dll Now what do I do make it compile a dll called SQLite3VB.dll? I can see no simple configuration setting for this. I could of course start a new project, but that seems silly. Thanks for any advice.
RBS -----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 __stdcall sqlite3_libversion(void); Lots of warnings (265) but no errors and a dll is produced, which I will try now. RBS -----Original Message----- From: RB Smissaert [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 this bit of code: /* ** The version of the library */ const char sqlite3_version[] = SQLITE_VERSION; BSTR __stdcall sqlite3_libversion(void){ return SysAllocStringByteLen( sqlite3_version,strlen( sqlite3_version) ); } BSTR __stdcall sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; } The error originates from the second line of code and shows like this in the build window: c:\sqlite\sourcewin\main.c(33) : 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 with VC++ 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 upgrading to the current MS compilers but there seemed to be so many things that I didn't know I wanted that I think I gave up. I'm having the same problems with installing the software for my phone. Been at it a couple of hours and so far it's changed my default email application, my default image viewer and my MP3 player and I still can't access the information I wanted off my phone. First and last Windows Smartphone I'll buy. It's "Smart" as in "Sting" rather than "Clever". I'm going for a cup of tea and then I'll have a look and see if I can find some VC6 project files for you. If I do I'll mail them straight to you rather than clutter up the list. If they work I suppose they could be uploaded somewhere. Martin ---------------------------------------------------------------------------- - To unsubscribe, send email to [EMAIL PROTECTED] ---------------------------------------------------------------------------- - ---------------------------------------------------------------------------- - To unsubscribe, send email to [EMAIL PROTECTED] ---------------------------------------------------------------------------- - ---------------------------------------------------------------------------- - To unsubscribe, send email to [EMAIL PROTECTED] ---------------------------------------------------------------------------- - ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------