Re: [sqlite] SQLite and Windows 95

2014-09-08 Thread BlackWingCat
Hi.

http://blog.livedoor.jp/blackwingcat/archives/1813730.html
I compiled SQLite 3.7.17 and 3.8.0.2 for Windows 95 before.

If you want to know the reason why it would not work on Win95, see the
following article.
http://blog.livedoor.jp/blackwingcat/archives/1804729.html




--
View this message in context: 
http://sqlite.1065341.n5.nabble.com/SQLite-and-Windows-95-tp5271p77748.html
Sent from the SQLite mailing list archive at Nabble.com.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-22 Thread joel . guittet-ext
Hi,

Thanks to you to help me with this problem.
As I do not require special features (only insert/select/order by/delete), 
I think it is maybe easier to use an old version of SQLite. I will try 
with 3.6.10 as said by Max. If it does not work I will try an older one.

Regards,
Joel
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-21 Thread Max Vlasov
On Tue, Dec 21, 2010 at 9:06 PM, wrote:

> I wonder about something : those functions are in kernel32.dll on a XP
> computer. Is it possible (I never do that before), to take the file
> "kernel32.dll" on my XP computer, to put it on the Win95 computer in the
> directory of my SQLite application, and to call the functions I need for
> SQLite in this DLL instead of the kernel32.dll of Win95 ?
> Maybe with a call to LoadLibrary and with some calls to GetProcAddress ?
>
>
Joel, as long as I remember, I managed to make statically linked 3.6.10
working on Windows 98. I'm not sure about 95, but at least you can try.

Max Vlasov
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-21 Thread Random Coder
On Tue, Dec 21, 2010 at 10:06 AM,
 wrote:
> I wonder about something : those functions are in kernel32.dll on a XP
> computer. Is it possible (I never do that before), to take the file
> "kernel32.dll" on my XP computer, to put it on the Win95 computer in the
> directory of my SQLite application, and to call the functions I need for
> SQLite in this DLL instead of the kernel32.dll of Win95 ?
> Maybe with a call to LoadLibrary and with some calls to GetProcAddress ?

No, not only will that not work, but the license does not allow you to
copy random DLLs from Windows around.

I'd try something like the Legacy Extender
(http://www.legacyextender.com/).  It claims to contain a DLL with
implementations of many Windows NT functions, including this one.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-21 Thread Simon Slavin

On 21 Dec 2010, at 6:06pm, joel.guittet-...@transport.alstom.com wrote:

> Is it possible (I never do that before), to take the file 
> "kernel32.dll" on my XP computer, to put it on the Win95 computer in the 
> directory of my SQLite application

This will not work.  The kernel /is/ pretty-much the version of Windows you're 
running.  Everything else in Windows talks to the kernel and replacing the 
kernel for a Win95 computer will require you to replace many other files on it 
too.

I don't think it's possible to do the thing you want on a Win95 computer.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-21 Thread Igor Tandetnik
On 12/21/2010 1:06 PM, 
joel.guittet-...@transport.alstom.com wrote:
> I wonder about something : those functions are in kernel32.dll on a XP
> computer. Is it possible (I never do that before), to take the file
> "kernel32.dll" on my XP computer, to put it on the Win95 computer in the
> directory of my SQLite application, and to call the functions I need for
> SQLite in this DLL instead of the kernel32.dll of Win95 ?

No. Functions in kernel32.dll just turn around and make system calls 
into the actual OS kernel. Those system calls that exist in XP kernel 
but not in Win95 one won't magically materialize when you copy a 
user-mode DLL.
-- 
Igor Tandetnik

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-21 Thread joel . guittet-ext
Hi Max and Richard,

Thanks for reply.

To Max: I agree, I do not have unicode support. The call to 
GetFileAttributesExW is in "if( isNT() )", which returns FALSE under 
Win95, so I removed the call to GetFileAttributesExW (It is not a problem 
if I considered that the software is build for a specific plateforme, and 
in the future i can make a definition "SQLITE_WIN95" in the code, like 
done for WinCE.

The problem is still there, but with "InterlockedCompareExchange", and it 
seems I need it.

I wonder about something : those functions are in kernel32.dll on a XP 
computer. Is it possible (I never do that before), to take the file 
"kernel32.dll" on my XP computer, to put it on the Win95 computer in the 
directory of my SQLite application, and to call the functions I need for 
SQLite in this DLL instead of the kernel32.dll of Win95 ?
Maybe with a call to LoadLibrary and with some calls to GetProcAddress ?


On a other hand, I looked for older versions of SQLite, but I'm confused : 
do I need to use source trunk repository on sqlite.org or is there 
somewhere archive of older versions (if possible amalgamation version) ?


Thanks a lot for your help.
Joel
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-20 Thread Max Vlasov
On Mon, Dec 20, 2010 at 7:44 PM, wrote:

>
> - Using the SQLite sources in my project, but the application do not start
> any more on Windows 95 : error message is that the application is linked
> to kernel32.dll and that function GetFileAttributesExW is not found. If I
> remove this function in the SQLite code, the same problem appears with
> another function.
>
>

Looking at the name of the function that ends with W, the questions is: have
you installed Microsoft Layer for Unicode (
http://msdn.microsoft.com/en-us/goglobal/bb688166)?

Max Vlasov
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-20 Thread Richard Hipp
On Mon, Dec 20, 2010 at 12:51 PM, wrote:

>
> Or if it is not possible to use SQLite, which simple database can I use on
> Win95 ?
>

SQLite can probably be made to work on Win95.  It used to work on Win95.
But we do not have (and have not had for years) the ability to test on
Win95.  It's not like we can go out to BestBuy and pick up a new Win95
machine for testing, you know Hence breakage accumulates.  (A similar
problem exists for OS/2.)

Why don't you go back through some historical versions of SQLite and figure
out when it stopped working.  Maybe you can use that version.  Or maybe you
can take the "os_win.c" source file from that version (which is the only
file that should contain any win95-specific code) and port it to the latest
version of SQLite on the trunk?


-- 
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-20 Thread joel . guittet-ext
Hi Kees,

Thanks for your reply.

I'm surprised, in the source code of SQLite (file sqlite3.c), there are a 
lot of references to Win95/98/Me.
If I want to use SQLite under Win95, which (stable) version can I use ? I 
do not need so special functions, just making 3 tables and 
insert/select/delete data in those tables.

Or if it is not possible to use SQLite, which simple database can I use on 
Win95 ? If I do not found solution, I will have to do the jobs around txt 
files  :-(

I'm developping for very specific hardware, and those developments are an 
upgrade of an existing system, I can't upgrade the operating system to a 
newer windows version.

Regards,
Joel
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] SQLite and Windows 95

2010-12-20 Thread Kees Nuyt
On Mon, 20 Dec 2010 16:44:10 +,
joel.guittet-...@transport.alstom.com wrote:

> Hi,
>
>I'm working with SQLite since few months. I'm developping an application 
>with Visual C++ 6.0 and with SQLite 3.7.2. This application works fine on 
>my computer, which is running Windows XP.
>
>But the final hardware is under Windows 95, and the application does not 
>run on it.

Windows 95 support milestones:
General Availability Date 1995-08-15
Mainstream Support End Date  2000-12-31
Extended Support End Date 2001-12-31

The first Alpha version of SQLite3 is dated 2004-06-18
http://www.sqlite.org/oldnews.html#2004__un_18

In other words, it's not very surprising Windows95 is not supported
any more.

Perhaps you can run a newer Windows version, like Windows CE or
Windows Mobile?

Alternatively, you can build a VFS module which targets Windows95
and avoids newer Windows API calls.
-- 
  (  Kees Nuyt
  )
c[_]
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] SQLite and Windows 95

2010-12-20 Thread joel . guittet-ext
 Hi,

I'm working with SQLite since few months. I'm developping an application 
with Visual C++ 6.0 and with SQLite 3.7.2. This application works fine on 
my computer, which is running Windows XP.

But the final hardware is under Windows 95, and the application does not 
run on it.

I tried :

- Using SQLite DLL, with the function LoadLibrary, but LoadLibrary call 
fails on Windows 95 (returns NULL).

- Using the SQLite sources in my project, but the application do not start 
any more on Windows 95 : error message is that the application is linked 
to kernel32.dll and that function GetFileAttributesExW is not found. If I 
remove this function in the SQLite code, the same problem appears with 
another function.

So I'm looking for help to run my application on Windows 95. Maybe I 
simply forget a definition to do before building ?
I found some information on the Internet, but nothing very easy to 
understand and use. Is there somewhere a basic application which runs 
under Windows 95 ? Of course I'm particularly interrested by Visual C++ 
6.0 examples, but any other examples will be apreciated.

Thanks for your help.
Joel


Alstom protège l'environnement : n'imprimez ce mail que si nécessaire.
With Alstom, preserve the environment. Is printing this email really 
necessary ?
:.___

CONFIDENTIALITE : Ce message et les éventuelles pièces attachées sont 
confidentiels. Si vous n'êtes pas dans la liste des destinataires, 
veuillez informer l'expéditeur immédiatement et ne pas divulguer le 
contenu à une tierce personne, ne pas l'utiliser pour quelque raison que 
ce soit, ne pas stocker ou copier l'information qu'il contient sur un 
quelconque support.
CONFIDENTIALITY : This  e-mail  and  any attachments are confidential and 
may be privileged. If  you are not a named recipient, please notify the 
sender immediately and do not disclose the contents to another person, use 
it for any purpose or store or copy the information in any medium.

 
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users