Hi,
John Lee made the suggestion that an unofficial 64-bit Windows
compiler archive be made available - for those people like me.
You can now download it from the Free Pascal FTP site:
ftp://ftp.freepascal.org/fpc/dist/2.6.2/x86_64-win/
[ readme.txt ]--
64 bit win fpc
Hi Silvio,
I'm trying to detect if a project is a simple program or a application.
Please download a small test here:
https://www.dropbox.com/s/w6a9gb4b9hnjit5/prova.zip
On Windows it works fine, but on Linux not.
This behavior was discussed on this thread:
On Sat, May 4, 2013 at 8:47 AM, silvioprog silviop...@gmail.com wrote:
repeat
if Socket.CanRead(timeout) then
begin
insock:=Socket.Accept;
if insock-1 then
//start working with insock
else
//deal with error
end;
until ThreadTerminated;
Ludo
Thank
Hi,
I came across a pointer variable in C which also get's assigned integer
values. Anyone has an idea how to port this in FPC?
The variable is declared as:
static void *x=0;
Later on it get's assigned as this: x= 1;
Regards, Darius ___
On 04 May 2013, at 10:25, Darius Blaszyk wrote:
I came across a pointer variable in C which also get's assigned integer
values. Anyone has an idea how to port this in FPC?
The variable is declared as:
static void *x=0;
Later on it get's assigned as this: x= 1;
var
x: pointer;
Hello together!
I've now restored the possiblity to compile arm-wince and i386-wince in
revision 24420. Sorry for the long time of broken compilation and the
resulting inconvenience. I'm planning to setup automated test suite runs
for arm-wince to avoid such problems in the future.
Regards,
Did tried my modification in the bug tracker?
On Sat, May 4, 2013 at 2:09 PM, Sven Barth pascaldra...@googlemail.comwrote:
Hello together!
I've now restored the possiblity to compile arm-wince and i386-wince in
revision 24420. Sorry for the long time of broken compilation and the
resulting
Hi all
I experience inconsistency using fpc wrapper.
See below.
When I invoke fpc using command line fpc -Px86_64 ... it correctly executes
cross-compiler (ppcrossx64) under Linux 32 bit.
But if I try to push -Px86_64 into a separate file (opts.cfg) and run with fpc
@opts.cfg it just executes
I wanted to mention that Lazarus comes with a 64bit FPC 2.6.2 from binaries...
Guys, Graeme is well meaning here. I agree that most of us first go to x64
downloads for binaries. Thinking 32 to 64 or reverse is onerous on typical end
users.
I need 64bit FPC binaries too. Presently I
On Sat, May 4, 2013 at 8:45 AM, Ludo Brands ludo.bra...@free.fr wrote:
Take a look at TBlockSocket.InternalCanRead and TBlockSocket.CanRead in
synapse on how to set up select correctly. Then do something like
repeat
if Socket.CanRead(timeout) then
begin
insock:=Socket.Accept;
On 05/04/2013 04:31 PM, Zaher Dirkey wrote:
I have put Select before Accept and it doesn't work, it blocked forever
without accepting any connection.
Accept function who block the thread and get new connection.
Can you show the code you use? You tested on Windows, linux, Mac, ...?
On Sat, May 4, 2013 at 5:40 PM, Ludo Brands ludo.bra...@free.fr wrote:
Can you show the code you use? You tested on Windows, linux, Mac, ...?
Only on Windows XP
source here
https://sourceforge.net/p/minilib/source/ci/master/tree/socket/source/mnServers.pas
about line 323
i changed it to
But mnServer is works with me for a years, and there is mnHttpServer demo
and it is work fine too without Select before Accept
https://sourceforge.net/p/minilib/source/ci/master/tree/socket/demo/lazarus/
On Sat, May 4, 2013 at 6:05 PM, Zaher Dirkey parm...@gmail.com wrote:
On Sat, May 4, 2013
In our previous episode, Andrew Brunner said:
Guys, Graeme is well meaning here. I agree that most of us first go to x64
downloads for binaries. Thinking 32 to 64 or reverse is onerous on typical
end users.
I need 64bit FPC binaries too. Presently I install the Lazarus to get
64bit
In our previous episode, denisgolovan said:
I experience inconsistency using fpc wrapper.
See below.
When I invoke fpc using command line fpc -Px86_64 ... it correctly executes
cross-compiler (ppcrossx64) under Linux 32 bit.
But if I try to push -Px86_64 into a separate file (opts.cfg)
http://bugs.freepascal.org/view.php?id=24346
Can someone please apply patch? Thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
There is a new i386-win32 release with FPC 2.6.2 and fpGUI 1.0 here:
http://www.turbocontrol.com/easyfpgui.htm
Hopefully the i386-linux and arm-linux releases will be updated soon.
--
Regards,
Paul Breneman
www.dbReplication.com - VCL database replication components
www.TurboControl.com -
On 05/04/2013 05:05 PM, Zaher Dirkey wrote:
On Sat, May 4, 2013 at 5:40 PM, Ludo Brands ludo.bra...@free.fr
mailto:ludo.bra...@free.fr wrote:
Can you show the code you use? You tested on Windows, linux, Mac, ...?
Only on Windows XP
This is a small test program that works for
2013/5/4 Zaher Dirkey parm...@gmail.com
On Sat, May 4, 2013 at 8:47 AM, silvioprog silviop...@gmail.com wrote:
repeat
if Socket.CanRead(timeout) then
begin
insock:=Socket.Accept;
if insock-1 then
//start working with insock
else
//deal with error
end;
Ok, I see.
Thanks for the explanation.
Regards, Denis Golovan
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
2013/5/4 Ludo Brands ludo.bra...@free.fr
On 05/04/2013 05:05 PM, Zaher Dirkey wrote:
On Sat, May 4, 2013 at 5:40 PM, Ludo Brands ludo.bra...@free.fr
mailto:ludo.bra...@free.fr wrote:
Can you show the code you use? You tested on Windows, linux, Mac,
...?
Only on Windows XP
2013/5/4 João Marcelo Vaz jms...@gmail.com
Hi Silvio,
I'm trying to detect if a project is a simple program or a application.
Please download a small test here:
https://www.dropbox.com/s/w6a9gb4b9hnjit5/prova.zip
On Windows it works fine, but on Linux not.
This behavior was discussed
Hmm there is diffrents
Yours
res:=select(sock+1,@readfds,@writefds,@exceptfds,@tv);
Mine
c := WinSock2.select(0, PSetRead, PSetWrite, nil, @TimeVal);
0 here in mine, in yours sock+1 (FHandle+1 in mine).
I will take more testing.
On Sat, May 4, 2013 at 8:01 PM, Ludo Brands ludo.bra...@free.fr
On 05/04/2013 08:00 PM, Zaher Dirkey wrote:
Hmm there is diffrents
Yours
res:=select(sock+1,@readfds,@writefds,@exceptfds,@tv);
Mine
c := WinSock2.select(0, PSetRead, PSetWrite, nil, @TimeVal);
0 here in mine, in yours sock+1 (FHandle+1 in mine).
I will take more testing.
According
Thanks Jonas!
Jonas Maebe schreef op 4 mei '13:
On 04 May 2013, at 10:25, Darius Blaszyk wrote:
I came across a pointer variable in C which also get's assigned integer
values. Anyone has an idea how to port this in FPC? The variable is declared
as: static void *x=0; Later on it get's
On 12/04/13 00:11, patspiper wrote:
On 12/04/13 00:08, patspiper wrote:
On 11/04/13 23:25, Marco van de Voort wrote:
In our previous episode, patspiper said:
Cross compilation from Ubuntu 32 bit to Win32, WIn64, and Linux 64
works
well with FPC 2.6.0.
With FPC 2.7.1, any cross compilation
On Sat, May 4, 2013 at 9:42 PM, Ludo Brands ludo.bra...@free.fr wrote:
However, in your code you do
if (c = 0) or (c = SOCKET_ERROR) then
begin
Error;
which is not correct. c=0 is the result of select returning after a
timeout. It is not an error.
The fact that
if
On 04.05.2013 13:28, Zaher Dirkey wrote:
Did tried my modification in the bug tracker?
Do you mean regarding the Canvas problems? Sorry, not yet... :(
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Anybody have any success with the included units for
CoreFoundation on Mac OSX.
I was trying to use CFSetGetCount( ) function call, it is clearly
defined in CFSet.pas
and yet the linker error is:
Identifier Not Found CFSetGetCount
But magically, the constants from CFBase.pas compile OK, so
29 matches
Mail list logo