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'
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
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
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;
>
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
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) :
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
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
>
>
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
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;
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
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
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
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
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
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
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
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
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
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
_
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
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
> 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
__
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
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
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
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
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
>From: "Lee, John" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: [fpc-pascal](no subject)
>D
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
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
> 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
32 matches
Mail list logo