[fpc-pascal] Date conversion question

2008-06-06 Thread [EMAIL PROTECTED]
Hello, I have a little project in which I need to convert various string encoded in various date format to TDateTime. For the same date, I'll have: '2008-05-10 21:49:21' '2008:05:10 21:49:21' '2008-05-10T19:49:21Z' I am no expert with date manipulation so I am asking: For the first type of st

Re: [fpc-pascal] Date conversion question

2008-06-06 Thread [EMAIL PROTECTED]
Search for scandatetime in http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/dateutil.inc?view=markup Have a look at the documentation for formatdatetime and the comments in the source to get an idea how to use it. ScanDateTime('?MM?dd?hh?nn?ss',str); // seems to work fin

[fpc-pascal] Webservice from .Net

2008-07-08 Thread [EMAIL PROTECTED]
I build webservice app with .Net and connect to client app with fpc. I used wst unit. But i have problem with WSDL translate result using the Lazarus IDE. There is no parameter/function like wst samples. Can anyone help me? or give the tutorial step by step? Tq _

[fpc-pascal] FreeBSD FPC i386 to AMD64

2008-07-16 Thread [EMAIL PROTECTED]
Hi! What's the steps to build FreeBSD FPC AMD64 from FreeBSD FPC i386? Is impossible? I can do it using Linux FPC AMD64 compiler? Fabio Luis Girardi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listin

Re: [fpc-pascal] FreeBSD FPC i386 to AMD64

2008-07-22 Thread [EMAIL PROTECTED]
No Graeme, you isn't wrong, 64 bit FPC is not ready yet for FreeBSD... :( Thank you 2008/7/16 Graeme Geldenhuys <[EMAIL PROTECTED]>: > On Wed, Jul 16, 2008 at 2:50 PM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Hi! >> >> What's the steps to

Re: [fpc-pascal] TThread.WaitFor not returning?

2008-09-17 Thread [EMAIL PROTECTED]
st line of procedure execute... Fabio Luis Girardi 2008/9/16 Luca Olivetti <[EMAIL PROTECTED]> > En/na Graeme Geldenhuys ha escrit: > > >> procedure TtiLogToCacheAbs.Terminate; >> begin >> writeln('>> TtiLogToCacheAbs.Terminate'); >> FThrdL

Re: [fpc-pascal] FreeBSD/x86_64 snapshots

2008-09-19 Thread [EMAIL PROTECTED]
I will test it!! I need it! Thanks! Fabio Luis Girardi 2008/9/18 Francisco Reyes <[EMAIL PROTECTED]> > Marco van de Voort writes: > > Well, this is the stuff the buildfaq reading was for :-) >> > > I printed it and read it on the train.. on the way home. > > &

Re: [fpc-pascal] FreeBSD/x86_64 snapshots

2008-09-27 Thread [EMAIL PROTECTED]
ree.log with parse tree # lots of debugging info # # Display Info, Warnings and Notes -viwn # If you don't want so much verbosity use #-vw # # That's all folks # Fabio Luis Girardi 2008/9/19 Francisco Reyes <[EMAIL PROTECTED]> > [EMAIL PROTECTED] writes: > > I will

[fpc-pascal] fpc without short boolean evaluation

2008-10-23 Thread [EMAIL PROTECTED]
Hello, it is possible, to switch off the short boolean evaluation? Normally follow code is possible: ... i:=0; if (i>=0) or (10/i > 1) then {do something}; ... For my academic studies I must switch off this short boolean evaluation, because I need a pascal compiler with full boolean eva

[fpc-pascal] asm an Freepascal under AMD 64

2006-03-21 Thread [EMAIL PROTECTED]
I'have some library which use some intel like asm code type_32.pas(125,2) Error: Illegal assembler style specified "INTEL" type_32.pas(146,13) Error: Unknown identifier "EAX" So where do i' find the new gramatical word for use asm ? As i read the doc it seem that there is no more support for

[fpc-pascal] Win32 DOS programming - best practices?

2006-04-24 Thread [EMAIL PROTECTED]
Hi, I´m working on an FPC Non-gui program that will need to do some dedicated things on 98 and XP machines, (and eventually *nix), such as test for running Apps, kill Apps or running services, and some web activity eventually, (which appears may become a concern with certain FPC/DOS programming w

[fpc-pascal] Pascal is alive!!??

2007-02-20 Thread [EMAIL PROTECTED]
In the ACM-ICPC International Collegiate Programming Contest dropped pascal for this year final competitions and for next year, the students are not allowed to use pascal as their programming language. Did you know this? What is your idea? Also, in TopCoder site, you can not develop your progra

Re: [fpc-pascal] Pascal is alive!!??

2007-02-20 Thread [EMAIL PROTECTED]
What about Topcoder's and its Arena? Daniël Mantione wrote: Op Tue, 20 Feb 2007, schreef [EMAIL PROTECTED]: In the ACM-ICPC International Collegiate Programming Contest dropped pascal for this year final competitions and for next year, the students are not allowed to use pascal as

[fpc-pascal] serial ports under Unix using Freepascal

2007-10-04 Thread [EMAIL PROTECTED]
Hi! I'm creating a component that handles serial port in windows/unix. Under Windows I include in uses the unit windows, that open, close, read, write, test if the configuration of serial port is valid (some set of configurations of baudrate, stop bits and parity is invalid in windows) and if ser

Re: [fpc-pascal] serial ports under Unix using Freepascal

2007-10-06 Thread [EMAIL PROTECTED]
Yes, I'm studing the synaser objects... Thank's :D 2007/10/4, josepascual <[EMAIL PROTECTED]>: > > Have you taken a look to synaser inside synapse packet software > http://synapse.ararat.cz/? > > > > Jose Pascual > > > > p.d. bonito nombre &

[fpc-pascal] RTL events

2007-10-20 Thread [EMAIL PROTECTED]
Hi! I'm studing RTL Events and TEvent class under Unix. RTL Event don't keep the state of event after an RTLEventWaitFor or RTLEventWaitForTimeout (after this the event is reseted). This reset after an RTLWaitFor is a rule for RTL Events? Or it will keep the state of event in future? Fabio Lui

[fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-11-23 Thread [EMAIL PROTECTED]
Hi! How to build lazarus with Qt4?? I set the interface of lazarus to Qt and try rebuild only LCL, but when it is rebuilding, it stops because it don't found qt4.pas. I'm doing all steps of wiki (http://wiki.lazarus.freepascal.org/Qt_Interface).

[fpc-pascal] Re: Re: IPC/SHMGET and Multiple Variables (Marco van de Voort)

2007-11-29 Thread [EMAIL PROTECTED]
Thanks Marco. Works fine ! [EMAIL PROTECTED] wrote: Send fpc-pascal mailing list submissions to fpc-pascal@lists.freepascal.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freepascal.org/mailman/listinfo/fpc-pascal or, via email, send a message with

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-02 Thread [EMAIL PROTECTED]
intf.so in /usr/local/lib 6) Rebuild Lazarus without sucess... :( How you do the libqt4intf.so in Linux? Fabio Luis Girardi 2007/11/24, Den Jean <[EMAIL PROTECTED]>: > > On Thursday 22 November 2007 04:50:59 pm [EMAIL PROTECTED] wrote: > > Qt 4.3.1 is installed from p

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-05 Thread [EMAIL PROTECTED]
Hi!! If you ran ldd libqt4intf.so, what is the output? Fabio Luis Girardi 2007/12/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I'm stupid!!! > > > In lcl/interfaces/qt/qt4.pas is wrote: > > {$IFDEF MSWINDOWS} > QtIntf = 'libqt4intf.dl

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-05 Thread [EMAIL PROTECTED]
F FREEBSD} QtIntf = 'libqt4intf.so'; {$ENDIF} Fabio Luis Girardi 2007/12/2, Den Jean <[EMAIL PROTECTED]>: > > On Saturday 01 December 2007 12:28:21 pm [EMAIL PROTECTED] wrote: > > 6) Rebuild Lazarus without sucess... :( > > in point 5 you succesfully got a libqt4intf

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-11 Thread [EMAIL PROTECTED]
Hi!! I can build lazarus with Qt in FreeBSD, but when I ran ./startlazarus... crash! Attached the script that build libqt4intf.so in FreeBSD (test) Fabio Luis Girardi 2007/12/7, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 04 December 2007 05:08:15 pm [EMAIL PROTECTED] wrote: &g

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-12 Thread [EMAIL PROTECTED]
I ran qt4 demos and all right! Lazarus demos crash... Attached is the backtrace of lazarus and ldd of lazarus example (hello). I will update my lazarus to a recent snapshot... Fabio Luis Girardi 2007/12/11, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 11 December 2007 08:05:

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-14 Thread [EMAIL PROTECTED]
variable "b" not used Linking teste1 41 lines compiled, 1.1 sec 1 note(s) issued %./teste1 executing sse2 instructions ... % Fabio Luis Girardi 2007/12/12, Den Jean <[EMAIL PROTECTED]>: > > On Wednesday 12 December 2007 07:33:15 pm Den Jean wrote: > > do you have a sse2 cap

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-16 Thread [EMAIL PROTECTED]
I will try disable SSE2 instructions... 2007/12/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Yes, I have an CPU SSE2 enabled (AMD Athlon 64 X2 3600+) > > > I ran fpc test and the output is: > > %fpc teste1.pas > Free Pascal Compiler version 2.2.0 [2007/09/02] for

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-18 Thread [EMAIL PROTECTED]
instructions on my QT4 instalation... Fabio Luis Girardi 2007/12/17, Den Jean <[EMAIL PROTECTED]>: > > On Saturday 15 December 2007 02:25:59 pm [EMAIL PROTECTED] wrote: > > I will try disable SSE2 instructions... > > It was a long shot ... > > can you tell us which

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-18 Thread [EMAIL PROTECTED]
Sorry... I read why... I'm using FreeBSD 6.2 (PC-BSD 1.4.1)... I will test on pure FreeBSD 6.2 on my home. Fabio Luis Girardi 2007/12/18, Jonas Maebe <[EMAIL PROTECTED]>: > > > On 18 Dec 2007, at 11:22, [EMAIL PROTECTED] wrote: > > > 2007/12/17, Den Jean <

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-19 Thread [EMAIL PROTECTED]
6.2 Release disc 1 and 2... 2007/12/18, Den Jean <[EMAIL PROTECTED]>: > > On Tuesday 18 December 2007 11:39:44 am Jonas Maebe wrote: > > It appears that you misunderstood the question: he asked *which* > > FreeBSD, not *why* FreeBSD. > > yes what should I download

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-19 Thread [EMAIL PROTECTED]
Debug detailed 2007/12/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi! > > I do some tests in my FreeBSD 6.1. In another FreeBSD 6.2 I build QT from > ports (that is an automated process, that applies some patchs before build). > In my FreeBSD 6.1 I build QT wi

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-21 Thread [EMAIL PROTECTED]
(because QT compiled with debug enabled). I have to change qt43.pas that uses defines LINUX and not UNIX... Fabio Luis Girardi 2007/12/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > 6.2 Release disc 1 and 2... > > 2007/12/18, Den Jean <[EMAIL PROTECTED]>: > > > &g

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2007-12-21 Thread [EMAIL PROTECTED]
QT4 running with lazarus under FreeBSD 2007/12/20, Den Jean <[EMAIL PROTECTED]>: > > On Wednesday 19 December 2007 11:37:33 am [EMAIL PROTECTED] wrote: > > I do some tests in my FreeBSD 6.1. In another FreeBSD 6.2 I build QT > from > > ports (that is an automated process, that

Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2008-01-02 Thread [EMAIL PROTECTED]
Forwarding... de [EMAIL PROTECTED] <[EMAIL PROTECTED]> para [EMAIL PROTECTED] data 29/12/2007 20:30 assunto Lazarus + Qt4 in FreeBSD Hi, I've just readed thread on fpc-pascal list, and seen your sse2 problem with qt4. I had same thing on linux (Fedora Core 3) and qt4. Just recompi

Re: [fpc-pascal] The fpGUI Toolkit supports FreeBSD!

2008-02-01 Thread [EMAIL PROTECTED]
I can rebuild lazarus using fpGUI (lastest snapshots of lazaurs and fpGUI) now? I rebuild lazarus with fpGUI, but it crashs when is started... 2008/1/15, Bee <[EMAIL PROTECTED]>: > > > As a side note... I'm also getting ready for the next fpGUI release. A > few > >

Re: [fpc-pascal] Read() for multiple variables.

2008-04-02 Thread [EMAIL PROTECTED]
zaher dirkey wrote: how to use read() procedure to read multiple variable one of them is string type To read a string and then number it is possible only if the length of a line is precisely known and fixed. I read out one string, and then I find in it numbers. Here an example for a finding o

Re: [fpc-pascal] Playing with SpVoice (ole object)

2008-05-12 Thread [EMAIL PROTECTED]
Joao Morais wrote: s := 'hello world'; vsound.speak(s); speaks using a literal but says randomic words (sometimes says nothing) using a variable. Is there something that I am missing? You should use a variable of type WideString: VAR S: WideString; And all will be good

Re: [fpc-pascal] FPC scripting suport

2008-05-28 Thread [EMAIL PROTECTED]
I'm using Pascal Script 3.0 in FPC... Fabio 2008/5/28 Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Wed, 28 May 2008, wrote: > >> I use JVInterpreter from JEDI with very good results in Delphi. It allows >> you to write from simple >> functions

Re: [fpc-pascal]Apple Mac pointer problem

2004-09-26 Thread [EMAIL PROTECTED]
- Original Message - From: "Olle Raab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 3:57 PM Subject: Re: [fpc-pascal]Apple Mac pointer problem 04-09-24 09.44, skrev Stephen Downs följande: > > Thanks for everyones input (Haro

Re: [fpc-pascal]Apple Mac pointer problem

2004-09-26 Thread [EMAIL PROTECTED]
- Original Message - From: "Olle Raab" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 8:10 AM Subject: Re: [fpc-pascal]Apple Mac pointer problem 04-09-24 03.33, skrev Harald Houppermans följande: >> Though looking

Re:[fpc-pascal] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-03 Thread [EMAIL PROTECTED]
Un grazie italiano al Free Pascal Team! -- Initial Header --- >From : [EMAIL PROTECTED] To : fpc-pascal@lists.freepascal.org,fpc-devel@lists.freepascal.org,fpc-announce@lists.freepascal.org Cc : Date : Sun, 2 Jan 2005 16:16:45 +0100 (CET) Subj

[fpc-pascal] Delphi To Free Pascal

2005-01-12 Thread [EMAIL PROTECTED]
Hi, This my test to see if free pascal can be used to compile Delphi Projects. I have thousands of delphi projects/project files etc... but for this test I simply create a new application and save it to c:\freepascal testen\hello world\version 0.01 I notice how free pascal does not support delph

[fpc-pascal] Text GUI and Graphic GUI's, CLX etc.

2005-01-18 Thread [EMAIL PROTECTED]
Hi, Borland/Delphi has a "technology" called CLX... it's ment for cross platform development. Another project called DWPL uses this CLX for Text Gui's and Graphical Gui's. It's pretty impressive. One can use Delphi to design a graphical gui etc... and then thx to this DWPL/CLX magic it can also

[fpc-pascal] No Project File ?

2005-01-18 Thread [EMAIL PROTECTED]
I also miss a project file in free pascal. Many of my delphi programs whatever use all kinds of units. I can't simply start adding all these to the unit directory or whatever in free pascal's environment ? So how does that work ? Maybe I have to start creating fp.ini's for all my different proj

Re: [fpc-pascal] Cross-compilation to Linux from win32

2005-01-18 Thread [EMAIL PROTECTED]
I have changed this line: > This configure program will make a new make file so that the binutils can be > compiled for linux To this: This configure program will make a new make file so that the binutils can be compiled/linked for the host which is windows and use cygwin1.dll to work but so tha

[fpc-pascal] uses in ''; not supported ?

2005-01-18 Thread [EMAIL PROTECTED]
Hi, Some of my delphi uses clauses look like this: program FolderTest; uses unittest in '..\unittest.pas'; begin writeln('Hello World'); readln; end. Free Pascal Win32 Dos Ide reports: Fatal: Can't find unit unittest Bye, Skybuck. ___ fpc-

Re: [fpc-pascal] Cross-compilation to Linux from win32

2005-01-18 Thread [EMAIL PROTECTED]
Hi, Little typo corrected :P > 7. Check if it's cygwin's make. If it's the wrong version than alter cygwin.bat and change the path so that only windows folders and this path is in it: c:\cygwin\bin than should be then ;) 7. Check if it's cygwin's make. If it's the wrong version then alter cygwi

[fpc-pascal] Running a background process

2005-01-18 Thread [EMAIL PROTECTED]
Hi, As I mentioned in my previous post I would like to develop a text based application... possibly with a text based gui. I have one little problem. I would like the program to do stuff while it waits for user input. Let's call "do stuff" the "background process". In a windows console program

[fpc-pascal] Re: uses in ''; not supported ?

2005-01-18 Thread [EMAIL PROTECTED]
Ok this seems to work only in the program section of delphi program and not in other units etc. - Original Message - From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "free pascal mailing list" Sent: Sunday, January 16, 2005 1:00 PM Subject: uses in '

[fpc-pascal] Free Pascal, Dos, Cross compiling, Etc

2005-01-18 Thread [EMAIL PROTECTED]
Hi, I just downloaded Free Pascal 1.9.6 for Win32. (fpc-1.9.6.i386-win32.zip) Unzipped it, Installed it and added the thing to the end of the path etc. I would like to compile a simple Hello World program to all targets. Apperently I can only compile/link/build to the win32 target :( ! I woul

Re: [fpc-pascal] Delphi To Free Pascal

2005-01-18 Thread [EMAIL PROTECTED]
- Original Message - From: "Marco van de Voort" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; "FPC-Pascal users discussions" Sent: Wednesday, January 12, 2005 2:13 PM Subject: Re: [fpc-pascal] Delphi To Free Pascal > >

[fpc-pascal] Re: No Project File ?

2005-01-18 Thread [EMAIL PROTECTED]
: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "free pascal mailing list" Sent: Sunday, January 16, 2005 1:12 PM Subject: Re: No Project File ? > Yes I think this will work thx to Options->Save As and Option->Open menu ;) > > > ----- Original Messag

Re: [fpc-pascal] Cross-compilation to Linux from win32

2005-01-18 Thread [EMAIL PROTECTED]
- Original Message - From: "Simon Kissel" <[EMAIL PROTECTED]> To: Sent: Friday, January 14, 2005 7:55 PM Subject: [fpc-pascal] Cross-compilation to Linux from win32 > Hi, > > after quite some time I thought to give FPC another try to see if it's >

[fpc-pascal] Re: No Project File ?

2005-01-18 Thread [EMAIL PROTECTED]
Yes I think this will work thx to Options->Save As and Option->Open menu ;) - Original Message - From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "free pascal mailing list" Sent: Sunday, January 16, 2005 1:08 PM Subject: No Project File ? > I also

Re:[fpc-pascal] FP IDE

2005-04-18 Thread [EMAIL PROTECTED]
Yes! you only have to do fp from a terminal console. Gaetano. > The Windows version of FPC seems to have an IDE (fp.exe) of the > traditional TP style. Does this also exist for Linux versions? After > installing a Linux package, I can't find it anywhere. > > Angelo > > > _

Re: [fpc-pascal] OT: ObjectPascal Operating System

2005-06-23 Thread [EMAIL PROTECTED]
Seems interesting... But how could anybody help... if the source code is not available ?? Bye, Skybuck ;) - Original Message - From: "listmember" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Wednesday, June 15, 2005 1:18 PM Subject: [fp

Re: [fpc-pascal] Pointers

2005-07-27 Thread [EMAIL PROTECTED]
Maybe free pascal supports the "absolute" directive ;) something like: var SomeAddress : pointer absolute $a000; - Original Message - From: "Daniel Franzini" <[EMAIL PROTECTED]> To: Sent: Thursday, July 28, 2005 1:55 AM Subject: [fpc-pascal] Pointers Hi

[fpc-pascal] Cross compiler win32/ARM error code 2 ?

2005-09-02 Thread [EMAIL PROTECTED]
Hi, just trying to build fpc (today snapshot 2.1.X) for win32 plateform and wince arm target. i get the following error message ? D:\FPC\2.1.x-src>make all OPT=-vt CPU_TARGET=arm OS_TARGET=wince CROSSBINDIR=d:\ fpc\cross\arm-wince BINUTILSPREFIX=arm-wince- INSTALL_PREFIX=d:\FPC\2.1.X >d:\

[fpc-pascal] Re: fpc-pascal Digest, Vol 14, Issue 8

2005-10-11 Thread [EMAIL PROTECTED]
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal