Re: [fpc-pascal] Threading

2004-11-26 Thread Paul Davidson
It works under Delphi/Windows. If that has any weight? On Nov 26, 2004, at 15:13, Jonas Maebe wrote: On 26 nov 2004, at 21:02, Paul Davidson wrote: fpc 1.9.5 [2004/11/26] Darwin 10.3 And for the record: it's the same under Linux/x86, it's not Darwin or Mac OS X specific. But I ha

[fpc-pascal] Odd CRT

2004-12-28 Thread Paul Davidson
OS X 10.3.6 This code makes a window area in center of screen, and prints in that area. The new window is filled with characters when DELLINE is used. Any hints? program TestCRT; uses CRT; var f : text; procedure win( s : string ); begin Window( 1, 3, ScreenWidth, ScreenHeight - 2 );

[fpc-pascal] (no subject)

2004-12-28 Thread Paul Davidson
OS X 10.3.6 This code makes a window area in center of screen, and prints in that area. The new window is filled with characters when DELLINE is used. Any hints? program TestCRT; uses CRT; var f : text; procedure win( s : string ); begin Window( 1, 3, ScreenWidth, ScreenHeight - 2 );

Re: [fpc-pascal] Nonfunctional debugger on OS X

2005-01-29 Thread Paul Davidson
Using XCode as well. It would be good idea to upgrade your compiler to 1.9.6. Go to directory containing fpc dir and: cvs -z 3 -d :pserver:[EMAIL PROTECTED]:/FPC/CVS checkout -r RELEASE_1_9_6 Build instructions are at http://www.surtec.com/~rj/Xcode-FreePascal/#FPC/CVS-Quickstart As far a

[fpc-pascal] Debugger on OS X

2005-01-30 Thread Paul Davidson
1) Is it possible to view strings in XCode (1.5). At present can only see first char ( C style char) 2) Any testing of fpc on Tiger yet? May be getting developer version next week P Davidson Corax Networks Inc. http://CoraxNetworks.com ___ fpc-pasca

Re: [fpc-pascal] FPC 1.9.8 - new TThread warning?

2005-02-25 Thread Paul Davidson
Remove $THREADING directive. It is now built in On Feb 25, 2005, at 8:07, chromdildo wrote: Hello, Great! just picked it up few minutes before announced :) now it throws warning (1.9.6 didn't) Warning: Illegal compiler directive "$THREADING" (I used {$THREADING ON} as described in the docs) I foll

[fpc-pascal] OS X Tiger

2005-04-29 Thread Paul Davidson
Any tests done on Tiger with FPC? Anything pending? (32 or 64 bit) P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain information that is privileged, con

Re: [fpc-pascal] OS X Tiger

2005-04-30 Thread Paul Davidson
Will the FreePascalForXcode1.1.dmg work with XCode 2? On Apr 29, 2005, at 13:23, Jonas Maebe wrote: On 29 apr 2005, at 19:14, Paul Davidson wrote: Any tests done on Tiger with FPC? Not by me. Anything pending? Not until I get it via ADC, which could easily take another month. But I do not expect

Re: [fpc-pascal] exit ?

2005-05-25 Thread Paul Davidson
Perhaps combinations of RESULT and EXIT may help? if TimeToLeave then begin Result := 5; Exit; end else On May 25, 2005, at 12:33, Jonas Maebe wrote: On 25 mei 2005, at 18:20, Tony Pelton wrote: over and above any philisophical judgments on my programming technique, I see Fr

[fpc-pascal] Small project $

2005-06-20 Thread Paul Aviles
Basically a way to enable a web version of tail -f for log files. There is a java version but we don't want the dependencies associated with java there. Please contact me directly if anyone is interested on doing this. Regards, Paul __

[fpc-pascal] cMem, cThreads

2005-07-14 Thread Paul Davidson
Does cThreads require cMem in program uses clause? i.e. uses cMem, cThreads, etc. It appears that removing cMem causes memory corruption in Darwin. Thanks P Davidson Corax Networks Inc. http://CoraxNetworks.com ___ fpc-pascal maillist - fpc

[fpc-pascal] Recursion

2005-07-17 Thread Paul Davidson
Having problem with app. It is rule based, and operates with recursion. Events, such as HTTP requests, timers etc, are processed in separate threads such that rule engine can handle more than one request at a time. When a rule cascade recurses for 10th time, a thread dies. But only first ti

[fpc-pascal] Calling a C library

2005-08-09 Thread Paul Aviles
How do you call a C library or .h file from FPC in linux? Any samples? Thanks Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Dynamic-linker

2005-09-02 Thread Paul Davidson
fpc 2.1.1 (2005/07/24) Darwin When compiling with -pg (generate profiling data) linker complains with: /usr/bin/ld: unknown flag: -dynamic-linker= P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to

[fpc-pascal] fpGetRUsage

2005-09-02 Thread Paul Davidson
Trying to get fpGetRusage to work. Using: function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; external 'c' name 'getrusage'; But this gives silly results. Any hints? P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is intended only for the

[fpc-pascal] fpGetRUsage

2005-09-02 Thread Paul Davidson
(Oops) Trying to get fpGetRusage to work WITH DARWIN. Using: function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; external 'c' name 'getrusage'; But this gives silly results. Any hints? P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is in

Re: [fpc-pascal] fpGetRUsage

2005-09-08 Thread Paul Davidson
On Sep 7, 2005, at 13:45, Jonas Maebe wrote: On 31 Aug 2005, at 15:52, Paul Davidson wrote: Trying to get fpGetRusage to work WITH DARWIN. Using: function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; external 'c' name 'getrusage'; But this gives silly resul

[fpc-pascal] Darwin compilation

2005-09-12 Thread Paul Davidson
Darwin fails make all. Checked out revision 1075. genmath.inc(1115,28) Fatal: Internal error 200507161 genmath.inc(1115,28) Fatal: Compilation aborted make[7]: *** [system.ppu] Error 1 make[6]: *** [darwin_all] Error 2 make[5]: *** [rtl] Error 2 make[4]: *** [next] Error 2 make[3]: *** [ppc2] Err

Re: [fpc-pascal] fpGetRUsage

2005-09-12 Thread Paul Davidson
RUsage is not declared anywhere in app o.0 RUsage is defined in ostypes.inc for BSD. fpGetRUsage is as well, but does not resolve in Darwin. On Sep 8, 2005, at 3:39, Jonas Maebe wrote: On 7 sep 2005, at 20:21, Paul Davidson wrote: Trying to get fpGetRusage to work WITH DARWIN. Using

Re: [fpc-pascal] Darwin compilation

2005-09-13 Thread Paul Davidson
errors compiling module, stopping h2pas.pas(2879,15) Fatal: Compilation aborted make[3]: *** [h2pas] Error 1 make[2]: *** [h2pas_all] Error 2 make[1]: *** [utils_all] Error 2 make: *** [build-stamp.powerpc-darwin] Error 2 On Sep 13, 2005, at 16:55, Florian Klaempfl wrote: Paul Davidson wrote

[fpc-pascal] SO_RCVTIMEO

2005-09-14 Thread Paul Davidson
Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work with Darwin (FreeBSD). type p : pointer; t : TimeVal; t.tv_sec := mSec div 1000; t.tv_usec := ( mSec mod 1000 ) * 1000; p := @t; if SetSocketOptions( fSocket, SOL_SOCKET, SO_SNDTIMEO, p, SizeOf( t ) ) <> 0 etc returns

Re: [fpc-pascal] SO_RCVTIMEO

2005-09-14 Thread Paul Davidson
Thanks, Marco, Anton. Select it is! On Sep 14, 2005, at 9:08, Marco van de Voort wrote: Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work with Darwin (FreeBSD). type p : pointer; t : TimeVal; t.tv_sec := mSec div 1000; t.tv_usec := ( mSec mod 1000 ) * 1000; p := @t

[fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
Last couple update to fpc 2.1.1 for Darwin have been broken Here are some symptom: At times XCode debugger stops program/trace with SIGSEGV TThread creation seems about 10 times faster. Sleep( 1 ) does not sleep for one milli-second, more llike 0. There may be inconsistent results with critical

Re: [fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
Lets wait for debug to return before making any changes. Will investigate further at that time On Oct 11, 2005, at 7:46, Marco van de Voort wrote: On 11 okt 2005, at 13:11, Paul Davidson wrote: Don't know what changed here. The sleep was changed from select to nanosleep. It seems

Re: [fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
On Oct 11, 2005, at 7:18, Jonas Maebe wrote: TThread creation seems about 10 times faster. Don't know what changed here. Looking at RTL, Threads are now using semaphores instead of pipes for suspend/resume. This may be reason for increased speed. Jonas

Re: [fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
Tested some sleep and nano sleep functions. They seems to work well, given the limits of Darwin OS. Now tracking possible suspend/resume issues. On Oct 11, 2005, at 8:35, Jonas Maebe wrote: On 11 okt 2005, at 14:25, Felipe Monteiro de Carvalho wrote: The sleep was changed from select to nan

Re: [fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
Tests where with app that monitors to at least mS intervals. Results are consistent with past runs. Altering internal fixed delays of +/- 1 mS reported acceptable results. On Oct 11, 2005, at 8:44, Jonas Maebe wrote: On 11 okt 2005, at 14:39, Paul Davidson wrote: Tested some sleep and

Re: [fpc-pascal] Various Darwin problems

2005-10-11 Thread Paul Davidson
Modified program by creating threads resumed (not suspended), then using new loop to start each one. Though new loop completes, and threads are created (31 inclucing process), they refuse to be terminated. It seems that RESUME, at least from another thread, if faulty. As well, CPU utilizatio

[fpc-pascal] Missing MySQL4?

2005-10-15 Thread Paul Davidson
Latest 2005/10/15 trunk seems to miss MySQL4 unit from packages. Source is in rtl, but not compiled and / or installed P Davidson ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Packages missing

2005-10-16 Thread Paul Davidson
Cannot compile using latest 2.1.1 or 2.0.1 MySQL, MySQL4 and NetDB are not found P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain information that i

Re: [fpc-pascal] Packages missing

2005-10-16 Thread Paul Davidson
Cannot compile using latest 2.1.1 or 2.0.1 MySQL, MySQL4 and NetDB are not found MySQL no longer exists, it's either MySQL4 or MySQL3, but they are distributed. NetDB should normally always be distributed. What platform are you using ? Michael. ___

Re: [fpc-pascal] Packages missing

2005-10-16 Thread Paul Davidson
UBF* Sorry folks. All is well. Turned out to be fault of author of this mail. *UBF - User brain failure On Oct 16, 2005, at 13:55, Paul Davidson wrote: Cannot compile using latest 2.1.1 or 2.0.1 MySQL, MySQL4 and NetDB are not found MySQL no longer exists, it's either MySQL4 or M

[fpc-pascal] Threads

2005-10-28 Thread Paul Davidson
Would it be possible to add a property to TThreads to expose DefaultStackSize in rtl/inc/threadh.inc Or something similar. Working on app that uses lots of complex recursion. Ran into problems and ended rewriting this component. In order to meet stack size limit, program runs much slower.

Re: [fpc-pascal] Threads

2005-10-28 Thread Paul Davidson
On Oct 28, 2005, at 9:12, Michael Van Canneyt wrote: On Fri, 28 Oct 2005, Paul Davidson wrote: Would it be possible to add a property to TThreads to expose DefaultStackSize in rtl/inc/threadh.inc Or something similar. It should be possible, yes, however this will require that the stack

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-29 Thread Paul Davidson
One must start X-Windows from terminal, then start Lazarus. You could also try this site. All are .dmg files, friendly to Macs Try http://www.ca.freepascal.org/Lazarus/ On Oct 29, 2005, at 16:11, Éric DÉTREZ wrote: Le 29 oct. 05 à 21:22, Florian Klaempfl a écrit : When we asked, did you try

[fpc-pascal] CASE

2005-11-07 Thread Paul Davidson
May be having case statement problem. App has case statement with 146 sequential labels. They are in order, from a defined type. The assembler output is scanning each label, where it seems a jump would be more efficient. ppc 32, Darwin /usr/local/bin/ppcppc cape80.pas -Ci -Co -g -gl -O1 -vr -a

Re: [fpc-pascal] CASE

2005-11-08 Thread Paul Davidson
On Nov 8, 2005, at 11:39, Eduardo wrote: At 04:42 08/11/2005, you wrote: May be having case statement problem. App has case statement with 146 sequential labels. They are in order, from a defined type. The assembler output is scanning each label, where it seems a jump would be more efficient

Re: [fpc-pascal] CASE

2005-11-08 Thread Paul Davidson
Jump by offset label number? I don't understand it. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal Sorry Eduardo, am not knowledgeable of compiler internals. There is (?) an optimi

Re: [fpc-pascal] CASE

2005-11-08 Thread Paul Davidson
On Nov 8, 2005, at 12:11, Peter Vreman wrote: # [735] case l3o3.FormType of // Select 3o3 processor lwz r2,160(r1) cmplwi cr0,r2,0 beq cr0,L1051 cmplwi cr0,r2,1 beq cr0,L1052 cmplwi cr0,r2,2 beq cr0,L1053 cmplw

Re: [fpc-pascal] CASE

2005-11-09 Thread Paul Davidson
Thanks Adriaan, Marco. All is well :) On Nov 9, 2005, at 4:38, Marco van de Voort wrote: -O1gr P Davidson Corax Networks Inc. http://CoraxNetworks.com IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain i

Re: [fpc-pascal] Download file

2005-11-17 Thread Paul Davidson
The silly answer. Construct an HTTP message according to IETF/W3C rules. Better answer. Assuming you have a socket connection open, the following should be included in your message: HTTP/1.0 200 Connection: Close Content-length: Content-type: MIME-version:1.0 The above should be in singl

Re: [fpc-pascal] Download file

2005-11-17 Thread Paul Davidson
It does not work as is on Mac, but then, most people don't care. *cry* On Nov 17, 2005, at 18:42, L505 wrote: Question: I would like to download a file via HTTP, how can I achieve that in a Synapse is nice.. Note: It is not 100 percent platform independent. (works on Linux and Windows poss

Re: [fpc-pascal] Download file

2005-11-18 Thread Paul Davidson
Nice rant :) On Nov 18, 2005, at 15:48, L wrote: It does not work as is on Mac, but then, most people don't care. *cry* I would consider a Mac if they didn't weld them shut like those iMacs. Talk about closed source hardware. Of course for every complaint I make someone will come b

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-19 Thread Paul Breneman
On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy for a console program, but it is 32-bit (whereas DOS is 16-bit) so it isn't as simple as Turbo Pasc

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 12:51 PM, waldo kitty wrote: On 2/19/2014 8:30 PM, Paul Breneman wrote: On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy for a

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 01:43 PM, Sven Barth wrote: On 20.02.2014 02:49, waldo kitty wrote: even if you do, trunk with the plain 16-bit msdos support might still do it for you). i've pulled DOS262 with the GO memory extender but have not yet installed it on the system due to other questions not yet pose

[fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Paul Breneman
http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Paul Breneman
On 03/15/2014 04:59 PM, Sandro Cumerlato wrote: Really interesting! Please fix typo: "chmod 755 ppcaarm" should be "chmod 755 ppcarm". I hope to see a GUI Hello World soon. Sandro On 15 Mar 2014 19:47, "Paul Breneman" wrote: http://turbocontrol.com/gnuroot.

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Paul Breneman
On 03/15/2014 07:33 PM, Paul Breneman wrote: ... >>> http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page. Feedback appreciated! Thanks for the feedback. My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-16 Thread Paul Breneman
On 03/16/2014 03:45 AM, Mark Morgan Lloyd wrote: Paul Breneman wrote: My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI USB-serial ad

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-16 Thread Paul Breneman
On 03/16/2014 12:27 PM, Mark Morgan Lloyd wrote: Paul Breneman wrote: The USB-serial adapter works everywhere else so I think it is fine. I'm guessing that GNURoot may prevent any communication? I need to do more testing. What I was trying to suggest was that the OS might not know abou

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-24 Thread Paul Breneman
On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a FTDI USB-serial adapter doesn't show up in

Re: [fpc-pascal] Create class descendant at runtime?

2014-04-29 Thread Paul Breneman
On 04/29/2014 04:59 AM, Michael Schnell wrote: On 04/29/2014 10:34 AM, Mark Morgan Lloyd wrote: Or possibly building the source for a dll/so on the fly. A nice and funny idea combining the benefits of scripting and compiling. A little bit similar to the "ahead of time" reatlime compiler in a J

Re: [fpc-pascal] FCGI MultiThreaded

2014-05-05 Thread Paul Breneman
k.art-ng1253q88944 http://codenewsfast.com/cnf/article/0/permalink.art-ng53q201750 Best regards, Paul www.TurboControl.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-05-09 Thread Paul Breneman
On 03/24/2014 12:08 PM, Paul Breneman wrote: On 03/15/2014 07:33 PM, Paul Breneman wrote: ... My main specialty is communication software ( www.turbocontrol.com/APro.htm ), so right now that is what I'm working on. I have a USB hub working with a keyboard on my Nexus 7 (via OTG), but a

Re: [fpc-pascal] Ping problems - OS/X

2014-05-21 Thread Paul Breneman
Peter, I've been working with running Linux on an Android tablet (without rooting the device) and one thing I've seen mentioned is that ping requires higher priorities (I don't remember the details). You can read more here: http://turbocontrol.com/gnuroot.htm Bes

Re: [fpc-pascal] Free Vision apps via SSH

2014-06-25 Thread Paul Breneman
to make starting with Free Vision easier! Regards, Paul www.TurboControl.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
Below is code from a C program (that works). From the ".h" files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3 (ps5000aGetUnitInfo) ( int16_t handle, int8_t* string, int16_t stringLength, int16_t *requiredSiz

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 10:59 AM, Paul Breneman wrote: Below is code from a C program (that works). From the ".h" files: typedef uint32_t PICO_INFO; typedef uint32_t PICO_STATUS; PREF0 PREF1 PICO_STATUS PREF2 PREF3 (ps5000aGetUnitInfo) ( int16_t handle, int8_t* string,

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 11:53 AM, Jonas Maebe wrote: On 01/07/14 17:27, Paul Breneman wrote: Sorry, but after I sent the email above I realized that I was editing a file in the wrong folder. Free Pascal doesn't work with "var" on the line below: var str : Pchar; This is what wor

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 01:28 PM, Jonas Maebe wrote: On 01/07/14 19:06, Paul Breneman wrote: Thanks Jonas for the help! This now works for me in FPC (MyReturnStr is PChar): Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], StringLen, requiredSize, RInfo); But in D7 using

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-01 Thread Paul Breneman
On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status := ps5000aGetUnitInfo( ps5000a_handle, @MyReturnStr[ 0], StringLen, requiredSiz

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-02 Thread Paul Breneman
On 07/01/2014 04:24 PM, Paul Breneman wrote: On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'; Status := ps5000aGetUnitInfo(

Re: [fpc-pascal] DLL call works on FPC 2.6.4 but not with D7

2014-07-03 Thread Paul Breneman
On 07/02/2014 06:43 AM, Paul Breneman wrote: On 07/01/2014 04:24 PM, Paul Breneman wrote: On 07/01/2014 02:58 PM, Jonas Maebe wrote: On 01/07/14 19:42, Paul Breneman wrote: I'm doing the same thing in FPC and D7: StringLen := 14; MyReturnStr := 'test1234567890'

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-10 Thread Paul Breneman
uot;on-the-bare-iron" programming tasks." Interesting stuff to go back and read with things currently happening: http://blogs.esa.int/rosetta/ On 05/05/2014 11:22 AM, Paul Breneman wrote: On 05/05/2014 04:36 AM, Michael Schnell wrote: ... Thanks to the maintainers of fpc and all other list

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-12 Thread Paul Breneman
This was cross posted to the Lazarus forum and there are a few more interesting links added there: http://forum.lazarus.freepascal.org/index.php/topic,26419.0.html On 11/10/2014 10:43 AM, Paul Breneman wrote: On 26-Sep-2004 Kristofer Skaug wrote (links below to messages): "You want mi

Re: [fpc-pascal] FCGI MultiThreaded

2014-11-12 Thread Paul Breneman
This Lazarus forum message has a bit more: http://forum.lazarus.freepascal.org/index.php/topic,25412.msg154279.html#msg154279 On 11/12/2014 10:11 AM, Paul Breneman wrote: This was cross posted to the Lazarus forum and there are a few more interesting links added there: http

Re: [fpc-pascal] Google Code closing down

2015-03-16 Thread Paul Breneman
On 03/16/2015 05:18 AM, Lukasz Sokol wrote: On 14/03/15 12:25, Florian Klaempfl wrote: Am 14.03.2015 um 12:45 schrieb Graeme Geldenhuys: On 2015-03-14 11:38, Mark Morgan Lloyd wrote: [Sigh] I feel like I'm being pushed onto git rather than Subversion. Then don't resist it. As 99% of develope

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-18 Thread Paul Breneman
On 03/18/2015 06:57 PM, Coyo Stormcaller wrote: Despite documentation and manuals, I have not figured out how to use TCP sockets in Object Pascal, since there doesn't seem to be a primitive for it, or any easy way to instantiate sockets and manipulate incoming connections. There is source code

Re: [fpc-pascal] fpcup fails on Linux

2015-04-19 Thread Paul Breneman
On 04/18/2015 12:48 PM, Juha Manninen wrote: Thanks for everybody for testing. I could finally install FPC trunk in my development machine, Mint Linux 64-bit, using fpcup. I remember it failed also there earlier for some reason. I still don't know what caused the errors in the fresh XUbuntu and o

Re: [fpc-pascal] which GUI (noob)

2015-08-04 Thread Paul Breneman
On 08/04/2015 07:33 AM, Gour wrote: Mark Morgan Lloyd writes: The first option would be a pure Pascal one, driving either a graphical or a text-based (curses etc.) UI. Here you mean fpGUI & MSEgui? I tend to use the FPC+Lazarus combination on (Debian) Linux targeting x86 (including -64), S

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2015-09-05 Thread Paul Breneman
On 09/04/2015 02:41 PM, Fred van Stappen wrote: That will be very convenient for setting up quick development VM's per project or client. Thanks Graeme :-) Huh, you may use it as VM project but as iso-live cdrom/ usb too. And you may also install it to device, like your main server ;-). Che

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2015-09-05 Thread Paul Breneman
On 09/05/2015 04:46 PM, Fred van Stappen wrote: I've tried the *beta.0.1.iso several times on VMware 11 and it always shows the pretty splash screen then fails to mount the root. Is there anything you suggest I try? Re-re hello. After testing here... Impossible to run a FreeBSD bootable-iso

Re: [fpc-pascal] Example of using TInetSocket, please

2015-09-22 Thread Paul Breneman
Synapse example. Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to compile Lazarus program using only FPC?

2015-10-03 Thread Paul Breneman
ly it does so you should research it more before doing it! Best Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Paul Breneman
dback welcome): http://www.controlpascal.com/tutorial.htm Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Building kernel modules using fpc (for fun)

2015-11-28 Thread Paul Breneman
t the above wiki page which is almost 5 years old. I might want to make an example for this wiki page: http://wiki.freepascal.org/Small_Virtual_Machines Any suggestions or links? Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] ideU version 1.0.0.

2015-12-24 Thread Paul Breneman
pages doesn't sound very good but hopefully this will improve. Thanks again! :) Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] ideU version 1.0.0.

2015-12-24 Thread Paul Breneman
On 12/24/2015 11:06 AM, Martin Schreiber wrote: On Thursday 24 December 2015 15:24:29 Paul Breneman wrote: Thanks for a simple IDE that a beginner can install. I've already posted a few links on my pages. At the bottom of this page: http://www.controlpascal.com/tutorial.htm it now

Re: [fpc-pascal] ideU version 1.0.0.

2015-12-26 Thread Paul Breneman
On 12/26/2015 02:08 AM, Martin Schreiber wrote: On Thursday 24 December 2015 16:58:16 Paul Breneman wrote: On 12/24/2015 11:06 AM, Martin Schreiber wrote: Maybe you should list the original too? ;-) Martin Yes I should, but the original is not as simple for a beginner to install

Re: [fpc-pascal] Smartphone apps in FPC

2016-03-19 Thread Paul Breneman
I would suggest checking this out: http://castle-engine.sourceforge.net/engine.php https://github.com/castle-engine/castle-engine/wiki/Build-Too Lots of links here: http://turbocontrol.com/devoptions.htm ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] Smartphone apps in FPC

2016-03-22 Thread Paul Breneman
On 03/21/2016 10:41 PM, donald.ped...@optusnet.com.au wrote: Hi Paul, I would suggest checking this out: http://castle-engine.sourceforge.net/engine.php https://github.com/castle-engine/castle-engine/wiki/Build-Tool My app isn't a game, so not sure that is of much help to me, but t

[fpc-pascal] Is there a FPC symbol or define for the binary output filename?

2016-04-28 Thread Paul Michell
with something like {$i %FPCVERSION%} so that I don't need to remember to edit the library when re-using it in other projects. Also is there a better way to retrieve this information on Linux? Thanks, Paul {$IFDEF WINDOWS} DataFolder := Inc

Re: [fpc-pascal] Using paszlib from fpc 3.0 with fpc and delphi 2007?

2016-05-25 Thread Paul Breneman
27;ve probably considered Abbrevia: http://wiki.lazarus.freepascal.org/FreePascalArchivePackage Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Using paszlib from fpc 3.0 with fpc and delphi 2007?

2016-05-25 Thread Paul Breneman
On 05/25/2016 09:56 AM, Bo Berglund wrote: On Wed, 25 May 2016 08:21:54 -0500, Paul Breneman wrote: You've probably considered Abbrevia: http://wiki.lazarus.freepascal.org/FreePascalArchivePackage Yes, I got that as a suggestion over at the Embarcadero forum... But when I download

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-21 Thread Paul Breneman
h mil spacing pins for easy breadboarding. You can do *everything* via USB. :) I joked about this several years ago but then went searching and found USB to ISA slot and USB to PCI slot adapters. Folks use these to run expensive data acquisition cards. Regards, Paul www.ControlPasca

Re: [fpc-pascal] Socket pair

2016-10-03 Thread Paul Breneman
it here in the next day or two: http://ctrlterm.com/custom.htm Regards, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Socket pair

2016-10-04 Thread Paul Breneman
On 10/03/2016 07:24 AM, Paul Breneman wrote: On 10/03/2016 03:27 AM, Santiago A. wrote: I've seen that "accept" functions with socket pairs are deprecated. And fpsocketpair returns always -1. How do you get the in and out streams when a server accepts a new client connection? I

Re: [fpc-pascal] fpc 3.0 for ARM (v7l) ?

2016-10-26 Thread Paul Breneman
, without success. Any suggestion ? Rebuilding all from sources is most probably out of my capabilities, hélas. Kindest regards, Ched' I would suggest using fpcup: http://wiki.freepascal.org/fpcup See the bottom link (Small Virtual Machines) to see what I've done with it. Reg

Re: [fpc-pascal] FreeBSD distro with fpc as star.

2016-11-03 Thread Paul Breneman
piled and run for 5 systems (FreeBSD 64/32, Linux 64/32 and Windows 32 bit) is *very* nice! Regards, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] class property accessor static

2017-02-07 Thread Paul Ishenin
I understand) to give access to private/protected static elements. -- Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-09 Thread Paul Breneman
, Paul www.ControlPascal.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-09 Thread Paul Breneman
On 04/09/2017 11:32 AM, fredvs wrote: For this, Xorg must be installed. Huh, of course only for gui applications (fpGUI or MSEgui). For no gui console application, compile your fpc java native library for the same cpu than the one of Android. For example RPi (but I am not sure it is the same c

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-18 Thread Paul Breneman
this easier, assuming you have a compatible Android version, since it provides the Linux file system space, term emulator and easy access. This was what I thought Paul was looking to do. FreeVision might work depending on a number of variables... but I'm not familiar with it. Most Android te

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-18 Thread Paul Breneman
On 04/18/2017 01:27 PM, Jon Foster wrote: On 04/18/2017 10:13 AM, Jon Foster wrote: On 04/18/2017 04:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file syste

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-19 Thread Paul Breneman
On 04/18/2017 07:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file system that all users have access to. You can't look in there so you kind of ha

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-19 Thread Paul Breneman
On 04/19/2017 09:48 PM, Jon Foster wrote: On 04/19/2017 06:01 AM, Paul Breneman wrote: On 04/18/2017 07:38 AM, Paul Breneman wrote: On 04/17/2017 08:42 PM, Jon Foster wrote: ... You have to copy the app to "/data/tmp" as that is usually the only place on Android with a Linux file s

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-20 Thread Paul Breneman
On 04/19/2017 10:49 PM, Paul Breneman wrote: I'm using a Nexus 7 tablet with Android 6.0.1. GNURoot provides a chroot with Debian? It has been *three* years since I did this before and things worked then so I don't know what might have changed so ppcarm doesn't even run now. A

Re: [fpc-pascal] fpc code for Java class and Android.

2017-04-26 Thread Paul Breneman
On 04/20/2017 08:17 AM, Paul Breneman wrote: On 04/19/2017 10:49 PM, Paul Breneman wrote: I'm using a Nexus 7 tablet with Android 6.0.1. GNURoot provides a chroot with Debian? It has been *three* years since I did this before and things worked then so I don't know what might have

Re: [fpc-pascal] Free Pascal Setup

2017-05-06 Thread Paul Breneman
On 05/04/2017 09:09 PM, John van der Linden wrote: Hi, When I download the Free Pascal I get a file called i386-win32-ppc386.zip which contains 1 file called ppc386.exe which does not contain the Setup system for the Free Pascal IDE that I was expecting. I have gone right through the Web Site

<    1   2   3   4   5   >