I am doing something similar to what you are doing, see below
I also needed to create a softlink so that fpc can call ppcrossarm, it
expects to call ppcarm
By using 'INSTALL_UNITDIR' there is no need to copy files at the end.
You will need to do a little tweak in fpc.cfg, after this it is
Hello,
the TFpHttpClient has an IoTimeout property, which in turn sets the
IOTimeout of its FSocket (TInetSocket), however there's no way to set a
connection timeout.
I see that even overriding the SocketHandler wouldn't change that, since
it's connect is only called *after* the fpconnect call
In our previous episode, Ryan Joseph said:
> I would like short strings so I can do concatenation easily but I need to
> pass pchar to a C function. Is there anyway to do this on the stack instead
> of allocating a string each time? I feel like it was possible to do some type
> casting but I don
> On Feb 23, 2018, at 6:51 PM, Marco van de Voort wrote:
>
> When creating the content of name append #0 (name:=whateverexpression+#0 ); ,
> then do
> result = glGetUniformLocation(programID, @name[1]);
Thanks now I remember. That was driving me crazy.
Regards,
Ryan Joseph
In C
ENUM_BEGIN( RetCode )
/* 0 */ ENUM_DEFINE( TA_SUCCESS, Success ), /* No error */
/* 1 */ ENUM_DEFINE( TA_LIB_NOT_INITIALIZE, LibNotInitialize
), /* TA_Initialize was not sucessfully called */
/* 2 */ ENUM_DEFINE( TA_BAD_PARAM, BadParam ), /* A parameter
is out
On Fri, 23 Feb 2018, Luca Olivetti wrote:
Hello,
the TFpHttpClient has an IoTimeout property, which in turn sets the
IOTimeout of its FSocket (TInetSocket), however there's no way to set a
connection timeout.
I see that even overriding the SocketHandler wouldn't change that, since
it's con
Hi,
Στις 23/2/2018 5:17 μμ, ο Michael Van Canneyt έγραψε:
On Fri, 23 Feb 2018, Luca Olivetti wrote:
Hello,
the TFpHttpClient has an IoTimeout property, which in turn sets the
IOTimeout of its FSocket (TInetSocket), however there's no way to set
a connection timeout.
I see that even overri
El 23/02/18 a les 18:51, Dimitrios Chr. Ioannidis via fpc-pascal ha escrit:
copy the ssockets.pp from \packages\fcl-net\src dir to
your project dir and add the following line
SetIOTimeout(FIOTimeout);
to Procedure TInetSocket.Connect; like this
fphttpclient already does that before ca
Hi,
Στις 23/2/2018 8:24 μμ, ο Luca Olivetti έγραψε:
El 23/02/18 a les 18:51, Dimitrios Chr. Ioannidis via fpc-pascal ha
escrit:
copy the ssockets.pp from \packages\fcl-net\src dir
to your project dir and add the following line
SetIOTimeout(FIOTimeout);
to Procedure TInetSocket.Connec
Hello,
How to use action and sessions with HTML Web Modules?
It seems fcl-web is an incomplete work. How can i help? Is there any list
of incomplete implementations/to-do works?
Regards
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:/
El 23/02/18 a les 19:34, Dimitrios Chr. Ioannidis via fpc-pascal ha escrit:
Hi,
Στις 23/2/2018 8:24 μμ, ο Luca Olivetti έγραψε:
El 23/02/18 a les 18:51, Dimitrios Chr. Ioannidis via fpc-pascal ha
escrit:
copy the ssockets.pp from \packages\fcl-net\src dir
to your project dir and add th
Hi
Στις 23/2/2018 11:14 μμ, ο Luca Olivetti έγραψε:
yes, it does (in procedure TFPCustomHTTPClient.ConnectToServer)
FSocket:=TInetSocket.Create(AHost,APort,G);
try
if FIOTimeout<>0 then
FSocket.IOTimeout:=FIOTimeout; <-
FSocket.Connect;
except
FreeAndNil(FSocket);
On Fri, 23 Feb 2018, African Wild Dog wrote:
Hello,
How to use action and sessions with HTML Web Modules?
What is not clear ?
There are several samples available that show their use ?
Also the WIKI has some pages about it
http://wiki.freepascal.org/fcl-web
There are some articles
https:
2018-02-23 19:36 GMT-03:00 Michael Van Canneyt :
>
> What is not clear ? There are several samples available that show their
> use ?
>
> Also the WIKI has some pages about it
> http://wiki.freepascal.org/fcl-web
>
> There are some articles
> https://idefix.freepascal.org/~michael/articles/
>
> see
Am 23.02.2018 um 16:06 schrieb Dennis:
> In C
> ENUM_BEGIN( RetCode )
TA-Lib has very weird macros. It should expand to "enum class RetCode" (so it's
actually C++), making this an int or unsigned int (depending on the compiler).
Should be a Longword on >32bit compilers then.
And (MvC will be disap
El 23/02/18 a les 22:57, Dimitrios Chr. Ioannidis via fpc-pascal ha escrit:
Hi
Στις 23/2/2018 11:14 μμ, ο Luca Olivetti έγραψε:
yes, it does (in procedure TFPCustomHTTPClient.ConnectToServer)
FSocket:=TInetSocket.Create(AHost,APort,G);
try
if FIOTimeout<>0 then
FSocket.IOTimeou
16 matches
Mail list logo