On 25 Mei 2010, at 11:29, Bee Jay wrote:
>
> On 25 Mei 2010, at 02:15, Marcos Douglas wrote:
>
>> On Mon, May 24, 2010 at 3:58 PM, Lee Jenkins wrote:
>>>
>>> Why do you need verification? That information is readily available on
>>> ExtPascal's wiki.
>>>
>>> http://code.google.com/p/extpasc
On 25 Mei 2010, at 02:15, Marcos Douglas wrote:
> On Mon, May 24, 2010 at 3:58 PM, Lee Jenkins wrote:
>>
>> Why do you need verification? That information is readily available on
>> ExtPascal's wiki.
>>
>> http://code.google.com/p/extpascal/wiki/GettingStarted
>
> Bee said something and Leon
>
> There is an example project (CGI and Apache mod) in Lazarus under
> /components/fpweb/demo/fptemplate/fileupload/ you can use.
>
> AB
>
>
Cheers, it turned out to be the HTML form needed 'enctype' which i've never
seen before.
Upload File:
- V
Hello FPC-Pascal,
Monday, May 24, 2010, 8:43:08 PM, you wrote:
MD> Okay, but if there is not memory leaks...
MD> I ever free my objects! But I did not know about no memory leaks in
MD> CGI programs...
There are no memory leaks once the program finishes, the OS releases
all requested memory block
Marco said:
>
> (btw:
> -XP should be followed by the prefix, not the path. IOW if you do
> -XParm-linux- then you wouldn't need those symlinks.
>
> The makefile name of this is BINUTILSPREFIX
> )
Thank you, I have adjusted my setup accordingly.
>
> The problem is that libdl misses functions t
On Mon, May 24, 2010 at 5:31 PM, Felipe Monteiro de Carvalho
wrote:
>
> Yes, it is true for Windows, Linux, Mac, plus any other decent OS.
>
> It is however considered good practice to clean up. It's more or less
> like commenting. Sure you can write a program without comments and it
> will run ju
On Mon, May 24, 2010 at 8:20 PM, Marcos Douglas wrote:
> ...and at the end, no memory leaks?
>
> This is true about Desktop (Win/Linux) apps too?
Yes, it is true for Windows, Linux, Mac, plus any other decent OS.
It is however considered good practice to clean up. It's more or less
like commenti
On Mon, May 24, 2010 at 4:18 PM, Lee Jenkins wrote:
>
> No offense, I was just curious.
Okay, don't worry :)
On Mon, May 24, 2010 at 4:19 PM, Lee Jenkins wrote:
>
> Sorry, "way" of how it works.
>
When I said: "...and at the end, no memory leaks?" I talked serious!
For me, all pointers that
In our previous episode, Seth Grover said:
>
> The way I set it up was to create a "/usr/local/bin/arm" directory,
> with symlinks in that directory like this:
>
> $ ls -l
> total 0
> lrwxrwxrwx 1 root root 15 2010-05-24 08:53 ar -> ../arm-linux-ar
> lrwxrwxrwx 1 root root 15 2010-05-24 08:53 as
--- On Mon, 5/24/10, Graeme Geldenhuys wrote:
> From: Graeme Geldenhuys
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 4:31 PM
> On 24 May 2010 18:02, Leonardo M.
> Ramé wrote:
> > Aldo, I know it has templa
On 24 May 2010 18:02, Leonardo M. Ramé wrote:
> Aldo, I know it has templates, the problem I'm facing now is in Windows Seven
> 64bits,
> It can't read environment/GET/POST vars, so the GetVar function doesn't return
> anything. That's why I had to look elsewere.
Well, you have the code, so why
Marcos Douglas wrote:
On Mon, May 24, 2010 at 3:55 PM, Lee Jenkins wrote:
LOL. Well, you should always manage your resources regardless, though I
think you question was tongue in cheek.
I was talking more about the model of how it works.
Sorry... what do you mean "model of how it works"?
Marcos Douglas wrote:
On Mon, May 24, 2010 at 3:58 PM, Lee Jenkins wrote:
Why do you need verification? That information is readily available on
ExtPascal's wiki.
http://code.google.com/p/extpascal/wiki/GettingStarted
I do not need verification.
Bee said something and Leonardo responded...
On Mon, May 24, 2010 at 3:58 PM, Lee Jenkins wrote:
>
> Why do you need verification? That information is readily available on
> ExtPascal's wiki.
>
> http://code.google.com/p/extpascal/wiki/GettingStarted
I do not need verification.
Bee said something and Leonardo responded... I want know what
On Mon, May 24, 2010 at 3:55 PM, Lee Jenkins wrote:
>
> LOL. Well, you should always manage your resources regardless, though I
> think you question was tongue in cheek.
>
> I was talking more about the model of how it works.
Sorry... what do you mean "model of how it works"?
Marcos Douglas
__
Marcos Douglas wrote:
On Mon, May 24, 2010 at 3:45 PM, Leonardo M. Ramé wrote:
Yes, but some times your FCGI app must run on one of those cheap shared
hostings where you can't touch the Apache's httpd.conf file to configure the
FCGI application. That's why the CGI proxy/gateway approach is us
Marcos Douglas wrote:
On Mon, May 24, 2010 at 2:24 PM, Lee Jenkins wrote:
It is more or less a console application.
1. Request come in.
2. CGI Application starts and handles request through stdin/stdout.
3. CGI Application shuts down and release its resources.
One application is started and t
On Mon, May 24, 2010 at 3:45 PM, Leonardo M. Ramé wrote:
>
> Yes, but some times your FCGI app must run on one of those cheap shared
> hostings where you can't touch the Apache's httpd.conf file to configure the
> FCGI application. That's why the CGI proxy/gateway approach is used in some
> cas
--- On Mon, 5/24/10, Marcos Douglas wrote:
> From: Marcos Douglas
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 3:39 PM
> On Mon, May 24, 2010 at 2:33 PM, Bee
> Jay
> wrote:
> >
> > Because FCGI app is the
On Mon, May 24, 2010 at 3:30 PM, Leonardo M. Ramé wrote:
>
> Marcos, nobody is saying that you don't have to destroy instances when
> programming CGI apps.
>
Okay, but if there is not memory leaks...
I ever free my objects! But I did not know about no memory leaks in
CGI programs...
Marcos Dou
On Mon, May 24, 2010 at 2:33 PM, Bee Jay wrote:
>
> Because FCGI app is the true worker app. CGI proxy is lightweight app. It
> does nothing but redirecting incoming request and outgoing response, aka
> proxy. Since it's lightweight, the CGI penalty can be ignored.
>
>> A FCGI lightweight app wo
--- On Mon, 5/24/10, ABorka wrote:
> From: ABorka
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 3:24 PM
> On 5/24/2010 09:52, Leonardo M. Ramé
> wrote:
> > -- On Mon, 5/24/10, ABorka
> wrote:
> >
> >> From
--- On Mon, 5/24/10, Marcos Douglas wrote:
> From: Marcos Douglas
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 3:20 PM
> On Mon, May 24, 2010 at 2:24 PM, Lee
> Jenkins
> wrote:
> >
> > It is more or less
On 5/24/2010 09:52, Leonardo M. Ramé wrote:
-- On Mon, 5/24/10, ABorka wrote:
From: ABorka
Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
To: "FPC-Pascal users discussions"
Date: Monday, May 24, 2010, 1:48 PM
On 5/24/2010 09:02, Leonardo M. Ramé
wrote:
Aldo, I know it has t
On Mon, May 24, 2010 at 2:24 PM, Lee Jenkins wrote:
>
> It is more or less a console application.
>
> 1. Request come in.
> 2. CGI Application starts and handles request through stdin/stdout.
> 3. CGI Application shuts down and release its resources.
>
> One application is started and then shutdow
On 25 Mei 2010, at 24:10, Marcos Douglas wrote:
> "If it's already running, the CGI app acts as request proxy for the FCGI app"
> Would not the oposite?
Because FCGI app is the true worker app. CGI proxy is lightweight app. It does
nothing but redirecting incoming request and outgoing response,
Marcos Douglas wrote:
On Mon, May 24, 2010 at 12:42 PM, Felipe Monteiro de Carvalho
wrote:
On Mon, May 24, 2010 at 5:26 PM, Marcos Douglas wrote:
Don't worry about memory leaks?! But if a do not freed an object e.g.
this is continues in memory, even after app ends.
No, it doesn't continue in
After doing some research (mostly reading
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM) and
experimenting, I am now cross compiling for ARM Linux from inside an
x86 Linux VM. I followed the instructions in the aforementioned link
with a few minor adjustments for my environment, an
On Mon, May 24, 2010 at 1:30 PM, Bee Jay wrote:
>
> That's why I like the CGI gateway mechanism from ExtPascal. The CGI app
> (lightweight) will run the ascociated FCGI app (the true app) if it's not yet
> running. If it's already running, the CGI app acts as request proxy for the
> FCGI app. A
On Mon, May 24, 2010 at 12:42 PM, Felipe Monteiro de Carvalho
wrote:
> On Mon, May 24, 2010 at 5:26 PM, Marcos Douglas wrote:
>> Don't worry about memory leaks?! But if a do not freed an object e.g.
>> this is continues in memory, even after app ends.
>
> No, it doesn't continue in memory.
In an
-- On Mon, 5/24/10, ABorka wrote:
> From: ABorka
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 1:48 PM
> On 5/24/2010 09:02, Leonardo M. Ramé
> wrote:
> > Aldo, I know it has templates, the problem I'm faci
On 5/24/2010 09:02, Leonardo M. Ramé wrote:
Aldo, I know it has templates, the problem I'm facing now is in Windows Seven
64bits, It can't read environment/GET/POST vars, so the GetVar function doesn't
return anything. That's why I had to look elsewere.
Leonardo M. Ramé
http://leonardorame.blo
On 24 Mei 2010, at 22:13, Leonardo M. Ramé wrote:
> With CGI you have one advantage over Apache Modules or Embedded web servers,
> as far as your "actions" do their work without errors, you don't have to
> worry about possible memory leaks related to concurrency problems or threads
> or anythin
On 5/23/2010 08:57, Vannus wrote:
How do you get cgi uploads to work??
Im using TModuledCGIApplication
procedure TCGIDatamodule1.DataModuleCGIRequest(Sender: TObject);
begin
// upload handling
writeln('filenamevar:
'+application.requestvariables['file']+''); // works when get but
post is
On 24 May 2010, at 13:59, vt...@volny.cz wrote:
> is it possible to link FPC compiled units to a C program on Linux?
> I'm not able to figure it out.
> FPC uses some strange way to name symbols and whatever I try, I always
> end up with the linking errors.
> I'm probably doing some trivial error
Aldo, I know it has templates, the problem I'm facing now is in Windows Seven
64bits, It can't read environment/GET/POST vars, so the GetVar function doesn't
return anything. That's why I had to look elsewere.
Leonardo M. Ramé
http://leonardorame.blogspot.com
--- On Mon, 5/24/10, Jorge Aldo G.
Powtils is not unmantained, its just slow development.
Powutils has parametrized templates, it just dont have documentation
for the latest version (I developed the template system myself).
2010/5/24 Felipe Monteiro de Carvalho :
> On Mon, May 24, 2010 at 5:26 PM, Marcos Douglas wrote:
>> Don't w
On Mon, May 24, 2010 at 5:26 PM, Marcos Douglas wrote:
> Don't worry about memory leaks?! But if a do not freed an object e.g.
> this is continues in memory, even after app ends.
No, it doesn't continue in memory.
--
Felipe Monteiro de Carvalho
___
fp
Hi Leonardo,
Thanks for reply.
On Mon, May 24, 2010 at 12:13 PM, Leonardo M. Ramé wrote:
>
> I'll use it in production. With CGI you have one advantage over Apache
> Modules or Embedded web servers, as far as your "actions" do their work
> without errors, you don't have to worry about possible
--- On Mon, 5/24/10, Marcos Douglas wrote:
> From: Marcos Douglas
> Subject: Re: [fpc-pascal] Powtils Apache and Windows Seven 64bits
> To: "FPC-Pascal users discussions"
> Date: Monday, May 24, 2010, 12:04 PM
> On Mon, May 24, 2010 at 11:51 AM,
> Leonardo M. Ramé
> wrote:
> > Thanks Leledumbo
On Mon, May 24, 2010 at 11:51 AM, Leonardo M. Ramé wrote:
> Thanks Leledumbo, FreeSpider worked perfectly, I did some tests of GET/POST
> vars and Templates, and it fits my needs wonderfully.
>
> I also tried fpWeb, but it has some problems (EWriteError : Stream write
> error) on Windows Seven 6
Thanks Leledumbo, FreeSpider worked perfectly, I did some tests of GET/POST
vars and Templates, and it fits my needs wonderfully.
I also tried fpWeb, but it has some problems (EWriteError : Stream write error)
on Windows Seven 64, or with Apache 2.2.15, I don't know, in Lazarus list I
posted a
YES! Thank you very much. You saved my day (maybe more of them, if I
had to rewrite all the pascal code to C) :)
> Ah, sorry, that would be for the other direction =)
>
> This one should work:
>
> function aplusb(a,b:longint):longint;cdecl; public
> name '_aplusb';
>
> --
> Felipe Monteiro de
Ah, sorry, that would be for the other direction =)
This one should work:
function aplusb(a,b:longint):longint;cdecl; public name '_aplusb';
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepa
I probably just found a way!
alias '_aplusb';
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
try:
function aplusb(a,b:longint):longint;cdecl; external name '_aplusb';
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi a thank you for quick reply, but I've tried that before:
Fatal: Syntax error, ";" expected but "identifier NAME" found
Could it be mode dependant? (I use -Mobjfpc)
V.
> It's normal name mangling, just like C++ also does.
> To force a
> specific name try something like this:
>
> function apl
It's normal name mangling, just like C++ also does. To force a
specific name try something like this:
function aplusb(a,b:longint):longint;cdecl name '_aplusb';
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Hi,
is it possible to link FPC compiled units to a C program on Linux?
I'm not able to figure it out.
FPC uses some strange way to name symbols and whatever I try, I always
end up with the linking errors.
I'm probably doing some trivial error, but I just can't find it.
Simple function:
function
49 matches
Mail list logo