Re: [fpc-pascal] (no subject)

2014-06-03 Thread Dimitrios Chr. Ioannidis
Hi, Στις 3/6/2014 1:20 μμ, ο/η Reinier Olislagers έγραψε: On 03/06/2014 12:17, Dimitrios Chr. Ioannidis wrote: FYI, in a wst soap client talking to a .net web service i find out, that for SOAP calls, if the CONTENT-TYPE http header ( i'm using fpc-http-protocol ) doesn't have the 'text/xml'

Re: [fpc-pascal] (no subject)

2014-03-08 Thread Barracuda
OK, thanks. I've really figured that out - function should return PChar, not string. I'm writing an replacement for closed-source component (also written in Pascal), and using disassembler because of that. This component intercommunicate with two others, loadable library (on one side) written in

Re: [fpc-pascal] (no subject)

2014-03-08 Thread Sven Barth
On 07.03.2014 20:26, Barracuda wrote: Code: - function SentenceSample(N: integer): string; stdcall; begin //writeln('N = ', N); //SentenceSample := RuGetSentence(N); inc(N); end; - Of cour

Re: [fpc-pascal] (no subject)

2014-03-08 Thread Jonas Maebe
On 07 Mar 2014, at 20:26, Barracuda wrote: > - > function SentenceSample(N: integer): string; stdcall; > begin > //writeln('N = ', N); > //SentenceSample := RuGetSentence(N); > inc(N); > end; >

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Everton Vieira
Exactly that i was meant, thank you people. 2012/2/23 Michael Van Canneyt > > > On Thu, 23 Feb 2012, Everton Vieira wrote: > > Is there any plans to implement public procedures/function of a class >> that can be used without been necessary to create the class? >> > > > This exists: class functi

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Michael Van Canneyt
On Thu, 23 Feb 2012, Everton Vieira wrote: Is there any plans to implement public procedures/function of a class that can be used without been necessary to create the class? This exists: class functions. Given the declaration TMYClass = Class Class function doGLobal (Arg : ArgType) :

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Felipe Monteiro de Carvalho
I think that you just described class methods: http://www.freepascal.org/docs-html/ref/refsu27.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Mattias Gaertner
Everton Vieira hat am 23. Februar 2012 um 17:17 geschrieben: > public procedures/function of a class that can be used without been > necessary to create the class?=?71c4af2e-7ede-4749-bc03-e827c6f6ed0d-- > > > Maybe you mean "class procedures"? > That exists since many years. > > Mattias > >

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Howard Page-Clark
On 23/2/12 4:17, Everton Vieira wrote: Is there any plans to implement public procedures/function of a class that can be used without been necessary to create the class? I presume you know about class methods such as TObject's class function ClassName : shortstring; that you can use like this

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Sven Barth
Am 23.02.2012 17:17, schrieb Everton Vieira: Is there any plans to implement public procedures/function of a class that can be used without been necessary to create the class? Do you know class procedures/functions? === example begin === type TTestClass = class class procedure Foo;

Duplicate identifier in derived generic (was: Re: [fpc-pascal] (no subject))

2011-11-24 Thread Sven Barth
Am 24.11.2011 16:56, schrieb Juha Manninen: It says: unit1.pas(40,24) Error: Duplicate identifier "FreeObjects" Why? If I change "FreeObjects" to "aFreeObjects" then it works. Again why? You simply picked a bad example, because "TFPGObjectList" contains a property called "FreeObjects", thus

Re: [fpc-pascal] (no subject)

2010-04-12 Thread Bihar Anwar
8:09:42 PM Subject: Re: [fpc-pascal] (no subject) On 12 April 2010 14:27, Tomas Hajny wrote: > > These are obviously all valid. There's also another possibility though > (having advantages and disadvantages compared to this) - you could have an > include file specifying this define and

Re: [fpc-pascal] (no subject)

2010-04-12 Thread Graeme Geldenhuys
On 12 April 2010 14:27, Tomas Hajny wrote: > > These are obviously all valid. There's also another possibility though > (having advantages and disadvantages compared to this) - you could have an > include file specifying this define and reference this include file from > all (relevant) source file

Re: [fpc-pascal] (no subject)

2010-04-12 Thread Tomas Hajny
On Mon, April 12, 2010 14:03, Graeme Geldenhuys wrote: > On 12 April 2010 13:25, Bart wrote: >> >> Commandline: >> fpc -dNOFORMSPLEASE myprogram.pp >> >> Not sure if this can be done from within FP IDE or Lazarus though. > > Yes they do... > > FP IDE: > Option > Compiler > Conditional Defines

Re: [fpc-pascal] (no subject)

2010-04-12 Thread Graeme Geldenhuys
On 12 April 2010 13:25, Bart wrote: > > Commandline: > fpc -dNOFORMSPLEASE myprogram.pp > > Not sure if this can be done from within FP IDE or Lazarus though. Yes they do... FP IDE: Option > Compiler > Conditional Defines Lazarus IDE: Project > Project Options > Compiler Options > Other

Re: [fpc-pascal] (no subject)

2010-04-12 Thread Bart
On Sun, Apr 11, 2010 at 4:22 PM, Bihar Anwar wrote: > Yes it works, but the {$DEFINE NOFORMSPLEASE} clause must be put in the unit > itself. If I put the clause in the first line of my console project, the unit > won't catch it. > > How can I define a compiler directive that can be understood by

Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bihar Anwar
ginal Message From: Bart To: FPC-Pascal users discussions Sent: Sun, April 11, 2010 4:51:54 PM Subject: Re: [fpc-pascal] (no subject) Simply define the compiler directive NOFORMSPLEASE when compiling your console app. The ProcessMessages is there (I guess) for allowing the Application obje

Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bihar Anwar
Thanks Bart, I will try it. - Original Message From: Bart To: FPC-Pascal users discussions Sent: Sun, April 11, 2010 4:51:54 PM Subject: Re: [fpc-pascal] (no subject) Simply define the compiler directive NOFORMSPLEASE when compiling your console app. The ProcessMessages is there (I

Re: [fpc-pascal] (no subject)

2010-04-11 Thread Bart
Simply define the compiler directive NOFORMSPLEASE when compiling your console app. The ProcessMessages is there (I guess) for allowing the Application object to update screens (WinControls). Since a console application does not link in LCL this is not necessary. Bart

Re: [fpc-pascal] (no subject)

2009-10-17 Thread Micha Nelissen
ak za wrote: i want to don't send mail to me from you but idn't know how do it. please guide me Do you mean unsubscribe, see link at bottom of this email: http://lists.freepascal.org/mailman/listinfo/fpc-pascal Then look at bottom of page, unsubscribe. Micha _

Re: [fpc-pascal] (no subject)

2009-05-06 Thread Jonas Maebe
On 06 May 2009, at 22:11, Seth Grover wrote: Now I know I can just use trunc(DaySpan(val1, val2)) to achieve the same result, but I was just curious as to why this change was made which so drastically changes the functionality of these calls. Because with trunc you also get rounding errors in

Re: [fpc-pascal] (no subject)

2008-09-02 Thread Jonas Maebe
On 02 Sep 2008, at 09:26, Tzvetan Velinov wrote: I had the older version of FP and installed the new one -2.2.2 on a PC machine from the file fpc-2.2.2.i386-win32.exe (and unfortunately unistalled the old one). I think I followed all the steps that were descibed and used names of the direc

Re: [fpc-pascal] (no subject)

2005-04-05 Thread Michał Woźniak
> 9x/ME is another story, the console implementation of 9x/ME is poor. I > think the best option for 9x/ME users is 1.0.10/go32v2. I'd say - go for Lazarus! www.lazarus.freepascal.org It's a great IDE, and it actually gets the job done. I am using it for a while now. Cheers Mike __

Re: [fpc-pascal] (no subject)

2005-04-05 Thread Florian Klaempfl
Gergely MOLNAR wrote: > hi! > > Anybody knows why fpc win32 IDE consumes much cpu time on windows me (and > also win xp). At least for me it doesn't on XP and I never heard that it does on XP. 9x/ME is another story, the console implementation of 9x/ME is poor. I think the best option for 9x/ME

RE: [fpc-pascal](no subject)

2004-06-28 Thread Tomas Hajny
Lee, John said: > You may have looked at this already, but can't you run win 9x of some > sort eg 98. This can be quite cheap 10e or thereabouts...My guess is > this'll run on a 486/pentium with 1? G disk, 16? M memory -then use dos > (or even win32) fpc... I'd add to this - what's your (the origi

RE: [fpc-pascal](no subject)

2004-06-28 Thread Lee, John
You may have looked at this already, but can't you run win 9x of some sort eg 98. This can be quite cheap 10e or thereabouts...My guess is this'll run on a 486/pentium with 1? G disk, 16? M memory -then use dos (or even win32) fpc...This'll give you 'multitasking' of a sort and be easier to suppor

Re: [fpc-pascal](no subject)

2004-06-28 Thread Michael Van Canneyt
On Mon, 28 Jun 2004, [ISO-8859-1] Jérémie LEFRANCOIS wrote: > I have some big TP 5.5 program to port to some more recent compiler, and FP > seems a fair choice, since a little trial convinced me of the great quality of > the product. > > Yet my target hardware is so poor that we have to stick to

Re: [fpc-pascal](no subject)

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > What is the difference between > --- /usr/lib/fpc/1.0.6/units/linux/ibase/ibase60.ppu > and > --- /usr/lib/fpc/1.0.6/units/linux/fcl/interbase.ppu > ? > What can i use better? ibase60 is the low-level C api. 'interbase' contains a TDatas

RE: [fpc-pascal](no subject)

2003-03-15 Thread Patrick Zerafa
>From: "Lee, John" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: RE: [fpc-pascal](no subject) >D

RE: [fpc-pascal](no subject)

2003-03-14 Thread Lee, John
This question isn't very easy to answer - there is no information in it. Please try to be more precise!    We can help you if you give us some information eg what operating system are you using, what are you trying to do compile& run, or debug? What did you download? What were the error me

Re: [fpc-pascal](no subject)

2003-03-10 Thread Jonas Maebe
On maandag, maa 10, 2003, at 13:35 Europe/Brussels, Patrick Zerafa wrote: I cannot install the Pascal, I did everything as needed: - Unzipped the file (install.exe) - Opened the file and was asked for Base Path in which I left it as default - Then after the installation was completed the install

Re: [fpc-pascal](no subject)

2003-03-08 Thread Jilani Khaldi
> I have tried to install Pascal by the default Base Path (c:/pp), but the > installation was not succesful: because it told me to write another Base > Path but still cannot install Pascal, The path is c:\pp and not c:/pp jk ___ fpc-pascal maillist