[fpc-pascal] Re: Announcing CrossGL
Graeme Geldenhuys wrote: On Thu, Jan 29, 2009 at 9:00 AM, Graeme Geldenhuys graemeg.lists-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Quick question? How does CrossGL compare to AGG or AGG-PAS? It looks Ah, no wonder the feature set looked familiar - you worked on AggPas first. :-) AggPas is pretty awesome. I hope to one day create a fpGUI backend based on AggPas. As an author of AggPas I would LOVE to see that Graeme. You have my full support for this. Just do it. (Now you ca see, AggPas is usable in real sw) Milan ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Info for building FPC ...
Hi all, i already downloaded, printed and read marcov's pdf reg. building fpc. I have the need, to build / compile fpc, using only the fpc executable ( ppc386 or ppcx64 ), the sources from subversion and the needed tools/utils. But where can i find the tools/utils needed for windows ? The binutils and make packages from mingw32 site on sourceforge doesn't work.The make, coreutils and shutils from gnuwin32 project also on sourceforge doesn't work either. The url's in the above pdf doesn't exists. Is it possible someone to post where can i find the tools/utils needed for build / compile fpc from sources in windows ? PS: I don't want just to use the tools / utils from the fpc packages. I want to know how to produce / find them. regards, -- Dimitrios Chr. Ioannidis No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1922 - Release Date: 28/1/2009 7:24 ìì ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Info for building FPC ...
On 29 Jan 2009, at 10:27, Dimitrios Chr. Ioannidis wrote: Is it possible someone to post where can i find the tools/utils needed for build / compile fpc from sources in windows ? They are available in the fpcbuild svn repository. You can get them directly using: svn co http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32/ (or by just surfing to that url and downloading the appropriate binaries) Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
Joost van der Sluis jo...@cnoc.nl writes: We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - I get some warnings: - ... gmake[5]: Entering directory `/work/a/ports/lang/fpc/work/fpc-2.2.4rc1/rtl/freebsd' /bin/mkdir -p ../../rtl/units/i386-freebsd as -o ../../rtl/units/i386-freebsd/prt0.o i386/prt0.as as -o ../../rtl/units/i386-freebsd/cprt0.o i386/cprt0.as as -o ../../rtl/units/i386-freebsd/gprt0.o i386/gprt0.as /work/a/ports/lang/fpc/work/fpc-2.2.4rc1.bin/lib/fpc/2.2.4rc1/ppc386 -dNOMOUSE -Fl/usr/lib -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../freebsd/i386 -FE. -FU../../rtl/units/i386-freebsd -CX -di386 -Us -Sg ../bsd/system.pp objpas.inc(609,43) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead. objpas.inc(620,52) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead. objpas.inc(687,12) Warning: formal parameter not yet supported inside inline procedure/function objpas.inc(687,12) Warning: Inlining disabled thread.inc(313,10) Warning: Function result does not seem to be set thread.inc(325,11) Warning: Function result does not seem to be set thread.inc(335,11) Warning: Function result does not seem to be set thread.inc(340,11) Warning: Function result does not seem to be set thread.inc(345,11) Warning: Function result does not seem to be set thread.inc(374,10) Warning: Function result does not seem to be set thread.inc(393,11) Warning: Function result does not seem to be set thread.inc(417,11) Warning: Function result does not seem to be set thread.inc(423,11) Warning: Function result does not seem to be set thread.inc(464,10) Warning: Function result does not seem to be set ... - Is that OK? Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
On 29 Jan 2009, at 11:13, Boris Samorodov wrote: Joost van der Sluis jo...@cnoc.nl writes: We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers. At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - I get some warnings: - [snip] - Is that OK? Yes. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
In our previous episode, Boris Samorodov said: At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl The generated binaries are then COMPAT7 free, if nothing broke. ) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] crossplatform networking
Hi all, I need to build some crossplatform networking applications. It'd be UDP-based. It should be able to support at least 3 mainstream OSes: Windows, Linux, and Mac. It also should be able to run on 64bit environment (at any OSes). Any suggestion what is the best crossplatform networking framework for FPC? At least able to run on the above 3 OSes. Indy? Synapse? lNet? And for what reasons? I don't need GUI/widget support as it would be only server-to-server communication and mostly run as daemon/service. TIA. -Bee- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
I also added initial OpenDocument support. Initially I wanted to do OOXML, but OpenOffice can only read OOXML, not write it, and I don't have Word, so I found myself unable to generate example documents and went for OpenDocument. A doubt I am facing now is if rows and column numbers should start at 1 like what is seen in most spreadsheet user interfaces or in zero . It was zero before, but now I am changing it to 1, althougth I am still not sure of the best option ... ideas? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
On Thu, 29 Jan 2009, Felipe Monteiro de Carvalho wrote: I also added initial OpenDocument support. Initially I wanted to do OOXML, but OpenOffice can only read OOXML, not write it, and I don't have Word, so I found myself unable to generate example documents and went for OpenDocument. A doubt I am facing now is if rows and column numbers should start at 1 like what is seen in most spreadsheet user interfaces or in zero . It was zero before, but now I am changing it to 1, althougth I am still not sure of the best option ... ideas? I think they should start at 0; This is customary in most code. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
On Jan 29, 2009, at 6:33 AM, Michael Van Canneyt wrote: On Thu, 29 Jan 2009, Felipe Monteiro de Carvalho wrote: A doubt I am facing now is if rows and column numbers should start at 1 like what is seen in most spreadsheet user interfaces or in zero . It was zero before, but now I am changing it to 1, althougth I am still not sure of the best option ... ideas? I think they should start at 0; This is customary in most code. And here is the difference between programmers and users. Yes, most programmer interfaces start at 0, but when a user opens your sreadsheet, they expect to see their first cell number as a1, not a0. I personally always make my code 1-based, because I am not a computer, and nobody I know starts counting at 0, and their program interfaces should reflect that. Besides, starting at 0 throws off human-made calculations. When someone says how many rows aare in my spreadsheet, they'll drop to the bottom of the sheet, and see that it goes to h84 or c62, and just assume oh, that's how many rows there are. Not so if you begin at 0. Don't confuse the poor users, start at 1. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
Travis Siegel schreef: Don't confuse the poor users, start at 1. You mean: Don't confuse the poor programmers, start at 1. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
On Thu, Jan 29, 2009 at 3:09 PM, Travis Siegel tsie...@softcon.com wrote: And here is the difference between programmers and users. Yes, most programmer interfaces start at 0, but when a user opens your sreadsheet, they expect to see their first cell number as a1, not a0. I personally always make my code 1-based, because I am not a computer, and nobody I know starts counting at 0, and their program interfaces should reflect that. I fully agree. So to add to my previous reply. Internally (for the developers), use 0-based counting. But when things are displayed visually to the _user_ i would definitely display the first row as 1. That means all internal RTL container classes including your component uses 0-based counting. Only the painting gets done as 1-based counting. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
On Thu, Jan 29, 2009 at 1:59 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Part of the confusion was what developers were used to in Delphi. Plus many (all) container classes in the RTL use 0-based counting. It becomes quite a chore to keep track of 1-based counting in the grid and when that data is stored internally in some RTL container class, to switch to 0-based counting. Yes, you convinced me. Moving back to 0-based =) And in the process I noticed that even in my own code to support OpenDocument I needed to add some + 1 and - 1 here and there because arrays are zero-based ... It's interresting that OpenDocument is 1-based ... maybe because it's user readable. Excel binary files were all zero-based (good for programmers, and the format isn't user readable) ... don't know about OOXML. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Suggestions for fpspreadsheet
On Thu, 29 Jan 2009, Graeme Geldenhuys wrote: On Thu, Jan 29, 2009 at 3:09 PM, Travis Siegel tsie...@softcon.com wrote: And here is the difference between programmers and users. Yes, most programmer interfaces start at 0, but when a user opens your sreadsheet, they expect to see their first cell number as a1, not a0. I personally always make my code 1-based, because I am not a computer, and nobody I know starts counting at 0, and their program interfaces should reflect that. I fully agree. So to add to my previous reply. Internally (for the developers), use 0-based counting. But when things are displayed visually to the _user_ i would definitely display the first row as 1. That means all internal RTL container classes including your component uses 0-based counting. Only the painting gets done as 1-based counting. For me this is so self-evident, that I didn't even bother to write it :( I was only making a statement as to how it is coded. Display to the user must obviously be 1 and A based. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Breakpoints in certain procedure don't get hit.
Yay! That seems to have worked. THANKS! Ken At 10:17 AM +0100 1/29/09, fpc-pascal-requ...@lists.freepascal.org apparently wrote: Date: Thu, 29 Jan 2009 08:45:31 +0200 From: Jonas Maebe jonas.ma...@elis.ugent.be Subject: Re: [fpc-pascal] Breakpoints in certain procedure don't get hit. To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Message-ID: 83ce8c91-7c3b-4b16-8ada-f46b0352b...@elis.ugent.be Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 29 Jan 2009, at 06:47, Ken G. Brown wrote: In Xcode 3.1.2 I'm having trouble getting breakpoints to get hit in a certain procedure. Breaks in other procedures in the same file work. I can break before entering the procedure but 'step into' just executes the procedure that apparently has breakpoints correctly set but they don't get hit. Tried complete clean and rebuild. Try changing the debug info from stabs into dwarf: In the project settings, under the Build tab, select the Debug configuration, then the All Settings collection, filter on fpc, and add -gw2 at the end of the FPC_SPECIFIC_OPTIONS settings. This will switch the compiler from stabs to dwarf. Then clean and rebuild. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Info for building FPC ...
Jonas Maebe schrieb: On 29 Jan 2009, at 10:27, Dimitrios Chr. Ioannidis wrote: Is it possible someone to post where can i find the tools/utils needed for build / compile fpc from sources in windows ? They are available in the fpcbuild svn repository. You can get them directly using: svn co http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32/ (or by just surfing to that url and downloading the appropriate binaries) Well, or if you look for a huge collection of cross binutils for win32, get http://svn2.freepascal.org/svn/fpcbuild/binaries/i386-win32/ by svn co http://svn2.freepascal.org/svn/fpcbuild/binaries/i386-win32/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
mar...@stack.nl (Marco van de Voort) writes: In our previous episode, Boris Samorodov said: At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building. The generated binaries are then COMPAT7 free, if nothing broke. ) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
In our previous episode, Boris Samorodov said: At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building. Talk to ACM, we recently discussed some more minor details with FPC packaging, like passing the FreeBSD major version to the compiler via make, to allow version dependant code in FPC's main libs. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Freepascal 2.2.4rc1 released
mar...@stack.nl (Marco van de Voort) writes: In our previous episode, Boris Samorodov said: At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building. Talk to ACM, we recently discussed some more minor details with FPC packaging, like passing the FreeBSD major version to the compiler via make, to allow version dependant code in FPC's main libs. Good to know, thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re[2]: [fpc-pascal] Freepascal 2.2.4rc1 released
Здравствуйте, Boris. Вы писали 29 января 2009 г., 18:48:35: BS mar...@stack.nl (Marco van de Voort) writes: In our previous episode, Boris Samorodov said: At the system: - host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 r...@host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 - ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building. Talk to ACM, we recently discussed some more minor details with FPC packaging, like passing the FreeBSD major version to the compiler via make, to allow version dependant code in FPC's main libs. BS Good to know, thanks! It that possible now to build .so with FPC and use it in C program on FreeBSD platform? FPC v2.2.2 cannot build dynamic libraries on FreeBSD at this time (well, at least none that work properly with C programs). Only the FreeBSD port is broken in that respect as far as I know. -- С уважением, KES mailto:kes-...@yandex.ru ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: Re[2]: [fpc-pascal] Freepascal 2.2.4rc1 released
On 29 Jan 2009, at 19:05, KES kes-...@yandex.ru wrote: It that possible now to build .so with FPC and use it in C program on FreeBSD platform? No, this bug was not fixed in 2.2.4 (it's not even fixed yet in 2.3.1) Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re[4]: [fpc-pascal] Freepascal 2.2.4rc1 released
Здравствуйте, Jonas. Вы писали 29 января 2009 г., 19:19:44: JM On 29 Jan 2009, at 19:05, KES kes-...@yandex.ru wrote: It that possible now to build .so with FPC and use it in C program on FreeBSD platform? JM No, this bug was not fixed in 2.2.4 (it's not even fixed yet in 2.3.1) Is there milstone for this bug? -- С уважением, KES mailto:kes-...@yandex.ru ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) = 32 Then
OK. I finally got there, via much trial and error. * ExecuteName := GetEnvironmentVariable('COMSPEC'); {ExecuteName = 'C:\WINDOWS\system32\cmd.exe'} ShellExParms := (' /c ' + ExecuteName) ; If ShellExecute(0, nil, PChar(ExecuteName), PChar(ShellExParms), nil, SW_SHOWNORMAL) = 32 Then MessageDlg('Unable to open file: ' + ExecuteName + ' ErrorCode= ' + IntToStr(0), mtError, [mbOk], 0); * Thanks all ! ô¿ô V e r n WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage, Lazarus-0.9.26-fpc-2.2.2-win32.exe, wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1 http://www.flickr.com/photos/vmars956/ Wanted: Dwarf Hibiscus (Orange/Rasberry) - Original Message - From: Bart bartjun...@gmail.com To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Sent: Wednesday, January 28, 2009 4:30 AM Subject: Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) = 32 Then Wild is good, but same results: Unable to open file: %COMSPEC%/c Del2Pas.bat ErrorCode=0 Did you try invoking notepad.exe from your batchfile? I never suggested to use %comspec%. (And as others pointed out you need to evaluate this with something like: ComspecStr := GetEnvironmentVariable('COMSPEC') (not tested)) My guess was that the process was executed but was not shown on the desktop, which lead you to conclude it was never executed. Ok, the last parameter in ShellExecute determines the way the application is shown. You specify 0, that is SW_HIDE, so you will not see the app! If the batchfile requires interaction from the user you will not see it and the batchtfile will never terminate. A returnvalue of 0 from ShellExecute means: The operating system is out of memory or resources. For batchfiles (and any other executable) you need not specify 'open', nil will suffice quite nicely in this case. There is no need for %comspec% (I'm not even sure it exists in NT based windows). Here's my testcase: procedure TForm1.Button1Click(Sender: TObject); var Res: LongWord; begin Res := ShellExecute(0, nil, PChar('test.bat'),nil,nil,SW_SHOWNORMAL); DebugLn('Res = ',DbgS(Res)); end; Here's the output: F:\LazarusProjectentest Res = 16806 and a new window appears which shows me the output of my test.bat If I put 0 instead of SW_SHOWNORMAL then I never get to see the output of my batchfile, but it does run (I can see that because I let it write to soem file which I examine later). Tested with Lazarus 0.9.27 rev. 18450 / fpc 2.2.2 Hope this helps. Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: crossplatform networking
Bee bisma-96w4lwiwc1nexsysy73...@public.gmane.org wrote in message news:49817e1f.8080...@brawijaya.ac.id... Hi all, I need to build some crossplatform networking applications. It'd be UDP-based. It should be able to support at least 3 mainstream OSes: Windows, Linux, and Mac. It also should be able to run on 64bit environment (at any OSes). Any suggestion what is the best crossplatform networking framework for FPC? At least able to run on the above 3 OSes. Indy? Synapse? lNet? And for what reasons? I don't need GUI/widget support as it would be only server-to-server communication and mostly run as daemon/service. TIA. -Bee- I would suggest Synapse, as that works under Windows, Linux and I think also Mac :-) I'm not sure about 64bit OSes though - probably. cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: crossplatform networking
On Fri, 30 Jan 2009, Paul Nicholls wrote: Bee bisma-96w4lwiwc1nexsysy73...@public.gmane.org wrote in message news:49817e1f.8080...@brawijaya.ac.id... Hi all, I need to build some crossplatform networking applications. It'd be UDP-based. It should be able to support at least 3 mainstream OSes: Windows, Linux, and Mac. It also should be able to run on 64bit environment (at any OSes). Any suggestion what is the best crossplatform networking framework for FPC? At least able to run on the above 3 OSes. Indy? Synapse? lNet? And for what reasons? I don't need GUI/widget support as it would be only server-to-server communication and mostly run as daemon/service. TIA. -Bee- I would suggest Synapse, as that works under Windows, Linux and I think also Mac :-) I'm not sure about 64bit OSes though - probably. It does. I use it on 64-bit. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) = 32 Then
And now try this withou the use of COMSPEC, and it should work. The problem is the implicit SW_HIDE (0) you were using. Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: crossplatform networking
It does. I use it on 64-bit. Is it working on Mac (intel)? -Bee- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal