Hi Michael,
Thanks a lot for the explanation. I am not familiar with a few concepts
in your description, such as:
1) What are "CORBA" style interfaces? I know CORBA and DCOM are for
distributed or remote object call. Are they still significant in local
object system?
2) Why an interface has
On Wed, 11 Sep 2013, Xiangrong Fang wrote:
Hi Michael,
Thanks a lot for the explanation. I am not familiar with a few concepts in
your description, such as:
1) What are "CORBA" style interfaces? I know CORBA and DCOM are for
distributed or remote object call. Are they still significant
Hi Michael,
3) What are "Live Binding"? What's the difference between "IFPObserved"
>> and the component events like OnCreate, OnShow, OnClick...?
>>
>
> See IFPObserved as a general event mechanism.
> The main difference is that a component can have only 1 OnCreate handler.
> whereas, in the
On Tue, 10 Sep 2013 20:30:16 -0400
wrote:
> On Tuesday, September 10, 2013 11:35 AM, Jürgen Hestermann
> wrote:
> > Am 12013090922:28, schrieb Tomas Hajny:
> > > ...and the issue is that at least some Windows API functions happily
> > accept
> > such paths,
> > > i.e. programs using such
On Wed, 11 Sep 2013, Xiangrong Fang wrote:
Hi Michael,
3) What are "Live Binding"? What's the difference between
"IFPObserved" and the component events like OnCreate, OnShow, OnClick...?
See IFPObserved as a general event mechanism.
The main difference is that a comp
Hi,
I found the problem, but don't know the cause or how to fix it.
First of all, my main code (project1.lpr) has just added the tree unit into
"uses", but not actually use any of it.
The problem occurs if I compile it using the Lazarus settings:
fpc -MObjFPC -Scghi -O1 -g -gl -vewnhi -Filib/x8
silvioprog wrote / napísal(a):
2013/9/10 silvioprog mailto:silviop...@gmail.com>>
2013/9/10 Sven Barth mailto:pascaldra...@googlemail.com>>
Am 10.09.2013 13:47, schrieb silvioprog:
2013/9/10 LacaK mailto:la...@zoznam.sk>>
Hi Silvio,
I cann't reprod
On 10/09/13 16:35, Jürgen Hestermann wrote:
> Am 2013-09-09 22:28, schrieb Tomas Hajny:
>> ...and the issue is that at least some Windows API functions happily accept
>> such paths,
>> i.e. programs using such API functions accept them too.
>> If FPC RTL manages to "translate" a path accepted by W
2013/9/11 LacaK
> **
> Strange ;-)
> Can you please attach and send your bufdataset.pas ?
> -Laco.
>
Yes:
http://pastebin.com/nqVnXAs5
--
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
2013/9/11 LacaK
> **
> silvioprog wrote / napísal(a): Now doing more tests. I see, that in
> pgAdmin when I use right click on table and use "View Data" then '' (two
> single quotes) are shown in TEXT column, but when I use SQL and type:
> select * from then empty fields are shown ... so it see
silvioprog wrote / napísal(a):
2013/9/11 LacaK mailto:la...@zoznam.sk>>
Strange ;-)
Can you please attach and send your bufdataset.pas ?
-Laco.
Yes:
http://pastebin.com/nqVnXAs5
This is not latest version. Correct version is here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/tr
silvioprog wrote / napísal(a):
2013/9/11 LacaK mailto:la...@zoznam.sk>>
silvioprog wrote / napísal(a): Now doing more tests. I see, that
in pgAdmin when I use right click on table and use "View Data"
then '' (two single quotes) are shown in TEXT column, but when I
use SQL and t
2013/9/11 LacaK
> Yes it is true for your version of bufdataset.pas, but it is fixed in
> trunk.
>
> L.
>
I'm searching a FTP with an update FPC to test it again. I'm using it:
ftp://freepascal.dfmk.hu/pub/lazarus/snapshots
But the latest FPC in this FTP is of 2013-09-01.
--
Silvio Clécio
M
Hi,
I am writing a Tree class which have the following skeleton:
generic TTree = class
private
FItems: TList;
public
...
end;
The FItems variable is used to store Children of current node. My question
is:
Shall I store TTree in FItems or @TTree? My understanding is:
If a variable obj is
http://freepascal.org/faq.var#unix-ld219
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/weird-compile-error-message-tp5716396p5716421.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
f
Am 2013-09-11 10:04, schrieb Mattias Gaertner:
> Many webservers are running on Linux, where double path delims are
> pretty normal. You see them pretty often. A common cause are lines like
> this:
> File=$Directory/filename.ext
> You don't need to check if $Directory has already a '/' at the end,
> Shall I store TTree in FItems or @TTree?
TTree
> If a variable obj is an TObject, it is actually a pointer, which stores
> the address of the "real" object structure.
Correct
> If I add @obj into FItems, then I am storing the address of the obj
> variable
Correct
> However, if I add obj i
Hi,
"Missing -T" is not the problem, the problem is "undefined reference",
which caused fatal error.
I filed a bug report: http://bugs.freepascal.org/view.php?id=25001
I am pretty sure this is a bug, becuase while I continue to add code to my
TTree class, this problem is gone! In another word,
2013/9/11 silvioprog
> 2013/9/11 LacaK
>
>> Yes it is true for your version of bufdataset.pas, but it is fixed in
>> trunk.
>>
>> L.
>>
>
> I'm searching a FTP with an update FPC to test it again. I'm using it:
>
> ftp://freepascal.dfmk.hu/pub/lazarus/snapshots
>
> But the latest FPC in this FT
Is it feasible to use lnet for a simple TCP daemon on Linux, i.e. wait
for a connection on a predefined port, read as much data as is
available, repeat? And if so, what does the SerSock parameter to
Accept() represent?
I'd normally use a thread for this, but I've already got lnet's telnet
cli
On Wed, 11 Sep 2013 17:37:36 +0200
Jürgen Hestermann wrote:
> And double delimiters *are* ambiguous:
> Has a (one letter) file name been forgotten or was an additional
> delimiter typed (or appended by bad programmed routines)?
Ambiguity is not defined by how the symbol came into being. You just
On Wednesday, September 11, 2013 5:56 AM, LacaK wrote:
>Now doing more tests. I see, that in pgAdmin when I use right click ontable
>and use "View Data" then '' (two single quotes) are shown in TEXTcolumn, but
>when I use SQL and type:
> select * from then empty fields are shown ... so itsee
On 11.09.2013 17:01, Xiangrong Fang wrote:
Hi,
"Missing -T" is not the problem, the problem is "undefined reference",
which caused fatal error.
I filed a bug report: http://bugs.freepascal.org/view.php?id=25001
I am pretty sure this is a bug, becuase while I continue to add code to
my TTree cl
2013/9/11
>
> On Wednesday, September 11, 2013 5:56 AM, LacaK wrote:
>
> >Now doing more tests. I see, that in pgAdmin when I use right click on
> table and use "View Data" then '' (two single quotes) are shown in TEXT
> column, but when I use SQL and type:
> > select * from then empty fields a
On Windows, too:
C:\>cd \backup\\\///\\\sich
C:\backup\sich>
Only the first backslash has to be (only one) backslash;
no slash allowed.
Kind regards
Bernd
Am 11.09.2013 19:36, schrieb Reimar Grabowski:
On Wed, 11 Sep 2013 17:37:36 +0200
Jürgen Hestermann wrote:
And double delimiters *a
Hi Sven,
Additional note: The "PTree = ^TTree" in front of the "TTree" is wrong and
> only supported by pre-2.7.1 FPC by accident. The correct code would be:
>
I removed PTree yesterday and this problem is gone. I now understand that
it is not necessary to define PTree as TTree is a pointer anyw
Hi Sven,
I have downloaded fpcbuild.zip and did 'NOGDB=1 make build', as it tell me
cannot find libgdb.a...
Now my question is how can I install the binaries so that it does NOT
interfere with my current 2.6.2 build?
Thanks!
___
fpc-pascal maillist -
Hi All,
I have this generic class:
type
generic TTree = class
private
FItems: TList;
... ...
public
Data: T;
... ...
function FirstChild: TTree;
... ...
end;
function TTree.FirstChild: TTree;
begin
if FItems.Count = 0 then Exit(nil);
Exit(TTree(FItems[0]));
en
Am 2013-09-11 19:36, schrieb Reimar Grabowski:
IEEE Std 1003.1, 2004 Edition (http://pubs.opengroup.org/onlinepubs/009695399/)
says: 3.266 Pathname A character string that is used to identify a file. In the
context of IEEE Std 1003.1-2001, a pathname consists of, at most, {PATH_MAX}
bytes, in
Am 12.09.2013 03:46 schrieb "Xiangrong Fang" :
> I have downloaded fpcbuild.zip and did 'NOGDB=1 make build', as it tell
me cannot find libgdb.a...
Just ignore the libgdb stuff. It's only needed for the textmode IDE.
> Now my question is how can I install the binaries so that it does NOT
interfer
Am 12.09.2013 03:14 schrieb "Xiangrong Fang" :
>
> Hi Sven,
>
>> Additional note: The "PTree = ^TTree" in front of the "TTree" is wrong
and only supported by pre-2.7.1 FPC by accident. The correct code would be:
>
>
> I removed PTree yesterday and this problem is gone. I now understand
that it is
Exit(TStringTree(FItems[0]);
Anyway, isn't better if the children itself is generic? See my gtree
implementation:
http://svn.freepascal.org/svn/fpc/trunk/packages/fcl-stl/src/gtree.pp
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/returning-a-generic-object-t
Am 12.09.2013 04:03 schrieb "Xiangrong Fang" :
>
> Hi All,
>
> I have this generic class:
>
> type
> generic TTree = class
> private
> FItems: TList;
> ... ...
> public
> Data: T;
> ... ...
> function FirstChild: TTree;
> ... ...
> end;
>
> function TTree.FirstChild:
Am 12.09.2013 07:22 schrieb "leledumbo" :
>
> Exit(TStringTree(FItems[0]);
Ehm... Who says that TStringTree is available for the generic? Also not
every TTree would be a TStringTree?!
Regards,
Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
TSelfType worked like a charm. Thanks!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 2013-09-11 07:02, Xiangrong Fang wrote:
>
> Where can I find detailed documentation on IFPObserved?
It forms part of the Observer design pattern. The Observer design
pattern works the same, irrespective of which language was used to
implement it. So any Observer design pattern documentation sh
36 matches
Mail list logo