#1 2012-02-12 11:52:36

Tohang
Member
Registered: 2010-06-24
Posts: 10

Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

Why not use an existing function in the SysUtils or System.Sysutils for reading and writing process to obtain compatibility.

Is "mORMot database Framework" designed only for Windows?

SynSQLite3.WinWrite SetFilePointer why not FileSeek written, WriteFile with FileWrite.
SynSQLite3.WinRead written SetFilePointer why not FileSeek, ReadFile with FileRead

Have not made for 64 bit based sqite3.obj to use Free Pascal or Delphi XE2?

Sorry my english very poor, thanks in advance.

Offline

#2 2012-02-12 16:06:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,546
Website

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

It is for Windows only at this time.
I'm working on making it more cross-platform.
Some part are already meant to deal with it (e.g. the kernel mode http.sys server is for Windows only, but there is a plain "socket" server in the same unit, which will work with any other OS - including Mac OS X and Linux).
Some other part tried to be FPC ready also (e.g. RTTI in SQLite3Commons).
There is still work to make it cross-platform, but there is no architecture/design show stopper here.
Need time to make the corresponding changes and tests. Since I do not need it yet, I did not make it.

About 64 bit, it is not fully compiling yet (due to some low-level exception handling in SynCommons.pas).
But most of the source code is already 64 bit ready.
See http://blog.synopse.info/tag/64bit

So it is a work in progress, but not with any dead line since I've personally no hurry.
You can propose any patch to enhance compatibility. Open Source welcomes it!
smile

Offline

#3 2012-02-16 11:58:28

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

I'm sorry but I have purchased delphiXE2 to convert my program from win32 to win64 bit and I used your framework to read and write to sqlite database, I now find myself in some trouble because I did not realize when it will convert to 64 bits, can you give me an approximate date?

thank you very much!

Offline

#4 2012-02-16 13:20:20

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,546
Website

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

OK - I've added 64 bit compilation in the official road map.

There is no approximate date yet - sorry.
Hope within weeks.

See http://synopse.info/fossil/wiki?name=RoadMap

Offline

#5 2012-02-17 08:40:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,546
Website

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

Just by curiosity - why do you need the server to run in 64 bit mode?

From the SQlite3 point of view, there will be no benefit in it.
SQlite3 is using very little memory, and it has plenty enough in 32 bit mode.

Is it just for "marketing" stuff?

Offline

#6 2012-02-17 13:04:02

corchi72
Member
Registered: 2010-12-10
Posts: 232

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

because my client program uses a 32-bit OCX and instead I would use the OCX on Win 7 64-Bit 64-Bit.
This is the reason why I would like to pass a 64-bit

Offline

#7 2012-02-17 15:08:48

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,546
Website

Re: Compatibility Windows, Linux, Mac, Delphi, Free Pascal, Delphi XE2

This is a pretty good reason!

smile

Offline

Board footer

Powered by FluxBB