erface would hide the local declaration. Not too different
> from how normal inheritance works really.
>
As I understand, this is not a method hiding, but just to tell the
compiler which method to implement the interface—the interface could
have method names which a
mainly Pascal orientated.
>
> I am working my way through the excellent FPC tutorials.
>
> Can anyone recommend any good reference books on FPC.
https://castle-engine.io/modern_pascal_introduction.html
regards,
Marcos Douglas
__
t.
> >
> > unit TOML;
> > interface
> > uses
> > TOMLParser in '/sources',
> > TOMLTypes in '/sources';
>
> uses
> TOMLParser in 'sources/TOMLParser.pas',
> TOMLTypes in 'sources/TOMLTypes.pas';
>
> Not Delphi compatible.
I think this works even
amples for you, sorry.
att,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lprogramming.com/fpweb
https://objectpascalprogramming.com/fpweb-hello
I believe you can use Google Translator, though.
best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> type
> TSuit = (suHeart, suDiamond, suClub, suSpade);
> TRedSuit = suHeart..suDiamond;
>
> var
> Suit: TRedSuit;
> begin
> // This should generate an error, but {$mode delphi} allows it
> Suit := suClub;
> end.
Debug
klib, or something.)
Good job.
I'm thinking use some like that to split a big desktop application
code into few other applications, maintaining a communication among
them.
Is it a good case to use mosquitto? If so, I can help you on Windows,
testing and etc.
best regards,
Marcos Douglas
ons, with the advantage to make the code more readable and
"Pascalish".
Am I right?
regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
in different drivers.
regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Is there, any change, to use relative paths inside fpc.cfg?
I have several Lazarus copies, in different paths, and I would like to
use the same fpc.cfg on all of them.
I've tried to use relative paths and macros but it hasn't worked.
best regards,
Marcos Douglas
windows file open, or save-as dialog boxes.. etc..
> even a hello world tutorial would be helpful... ok, so ZERO windows
> programming experience here... Any advice on where to start?
>
I've just search on Google:
https://www.win.tue.nl/~wstomv/edu/lazarus/dev_gui_app
problem, how can I download the compiler
> needed to build 3.0.4 on this Linux machine?
The easiest way: fpcupdeluxe
https://github.com/newpascal/fpcupdeluxe/releases
regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@list
On Mon, Oct 15, 2018 at 9:33 AM Michael Van Canneyt
wrote:
>
> > On Sun, Oct 14, 2018 at 8:19 PM Michael Van Canneyt
> > wrote:
> >>
> >>
> >>
> >> On Mon, 15 Oct 2018, Sven Barth via fpc-pascal wrote:
> >>
> >> > Ma
On Sun, Oct 14, 2018 at 8:19 PM Michael Van Canneyt
wrote:
>
>
>
> On Mon, 15 Oct 2018, Sven Barth via fpc-pascal wrote:
>
> > Marcos Douglas B. Santos schrieb am So., 14. Okt. 2018,
> > 16:15:
> >
> >> Do you know any Pascal lib to parse strings to
etc...
But they could type even their computer date format or ISO as well.
A lib in C, but very complex:
- https://github.com/gagern/gnulib/blob/master/lib/parse-datetime.y
I would like to start with something simpler, if possible. Thank you.
Best regards,
Marcos Douglas
__
see this hint when using it?
regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, Aug 18, 2018 at 2:04 PM, Ryan Joseph wrote:
>
> How does TAutoFree in mORMot work? Never heard of this.
See
http://blog.synopse.info/post/2014/11/14/Automatic-TSQLRecord-memory-handling
regards,
Marcos Douglas
___
fpc-pascal maillist
On Tue, Jul 3, 2018 at 11:55 AM, Michael Van Canneyt
wrote:
>
>> Thanks.
>> But, is uregexp part of FPC?
>
>
> Not yet, but I intend to make it so.
All right! Thanks.
Marcos Douglas
PS. Please, don't forget the XPath Unicode implementation too.
We have talked about it
On Tue, Jul 3, 2018 at 11:36 AM, Giuliano Colla
wrote:
> Il 03/07/2018 15:14, Marcos Douglas B. Santos ha scritto:
>
>> Can we sleep a thread for minutes or even hours without any problems?
>> The OS will not kill the thread?
>
> On Linux environment, sample situati
On Tue, Jul 3, 2018 at 10:26 AM, Michael Van Canneyt
wrote:
>
>
> On Tue, 3 Jul 2018, Marcos Douglas B. Santos wrote:
>
>> On Tue, Jul 3, 2018 at 7:50 AM, Michael Van Canneyt
>> wrote:
>>>
>>>
>>> On Tue, 3 Jul 2018, Marco van de Voort wrote:
On Tue, Jul 3, 2018 at 7:50 AM, Michael Van Canneyt
wrote:
>
> On Tue, 3 Jul 2018, Marco van de Voort wrote:
> Trivial indeed, till you need more fine-grained control.
> e.g. C needs to be an array of chars that mark word boundaries etc.
>
> But I managed to solve the problem with regexps...
On Mon, Jul 2, 2018 at 6:28 PM, Marc Santhoff wrote:
> On Sat, 2018-06-30 at 17:57 -0300, Marcos Douglas B. Santos wrote:
>>
>> My question is: Nowadays, can I use TTimer with no restrictions in a
>> daemon application on Windows? If not, which could be a possible
>>
ended up indexing more
> than 24 hours before I killed it.
>
> Contributions or ideas welcome.
I found this project 2 years ago but I've never tried to use:
https://github.com/AcoonDe/OpenAcoon
Maybe it could give you some ideas.
Regards,
Marcos Douglas
___
On Sun, Jul 1, 2018 at 2:15 AM, Martin Schreiber wrote:
> On Saturday 30 June 2018 22:57:47 Marcos Douglas B. Santos wrote:
>
>>If not, which could be a possible
>> solution?
>>
> You could use a MSEgui application, instead of
> "
> uses
> m
On Sat, Jun 30, 2018 at 9:13 PM, R0b0t1 wrote:
> On Sat, Jun 30, 2018 at 3:57 PM, Marcos Douglas B. Santos
> wrote:
>> Hi,
>>
>> I need to build a daemon app on Windows. It will need a timer to
>> performe some tasks. This timer could be big among 15 min, 30 min, 2
fpc-pascal/2013-March/036823.html
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I was on the road, without my laptop, and I didn't want to
forget this :)
And your way is even better, thank you.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Fri, Jun 22, 2018 at 5:13 PM, Florian Klämpfl wrote:
>
> {$macro on}
>
> {$define TypeStr:=specialize _TypeStr}
>
> begin
> Writeln(TypeStr);
> end.
Can I use the same idea but for units?
Like this:
{$macro on}
uses
{$ifdef debug}
foo_debug
{$define foo := foo_debug}
{else}
solutions
> for problems that nobody has (in real life)...
+1
It is better to have a simple language with packages/libs to do the (real) job
than a complex language that try doing anything that someone could
imagine or want to do.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Thu, Jun 14, 2018 at 8:43 AM, Ryan Joseph wrote:
>
[...]
> His premise for the proposal is that programming languages
> should help the programmer to make code which is better read
> by the CPU instead of high-level constructs for abstract concepts.
> It’s very specific to a particular task
e HandleRequest you can instantiate any business classes that you
want and your code won't need fpWeb to test it. Make them separated.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
On Sun, May 27, 2018 at 1:18 PM, Jonas Maebe wrote:
> Hi,
>
> See http://www.contrapositivediary.com/?p=4034
>
> It's by Jeff Duntemann, and based on his 1993 book "Borland Pascal 7 from
> Square One".
Thanks for shari
On Sat, May 26, 2018 at 4:56 PM, Marco van de Voort <mar...@stack.nl> wrote:
> In our previous episode, Marcos Douglas B. Santos said:
>> Can I make a class helper to implements an Interface in an existing class?
>
> No, since a change to the class is needed (the tables w
TStringList to implement IFinder using a
helper? If yes, which is the syntax?
Thanks,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, May 9, 2018 at 10:48 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Wed, 9 May 2018, Marcos Douglas B. Santos wrote:
>
>>>> OK sorry for didn't find this bugreport.
>>>> Is this fix in fixes_3_0 ?
>>>
>>>
>&g
blished, just to see
that works.
Then, I start to use fixes_3_0.
I supposed that any fixes in trunk must be applied in fixes, don't?
Well, if I'm wrong, could you do that to this bug?
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.
On Wed, May 9, 2018 at 3:47 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Tue, 8 May 2018, Marcos Douglas B. Santos wrote:
>
>> On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt
>> <mich...@freepascal.org> wrote:
>>>
>>>
On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Mon, 7 May 2018, Marcos Douglas B. Santos wrote:
>
>>> Application.Run;
>>> end.
>>>
>>> ===END===
>>>
>>> My environment is: La
On Sun, May 6, 2018 at 5:44 PM, Marcos Douglas B. Santos <m...@delfire.net>
wrote:
> On Sat, May 5, 2018 at 11:51 AM, Michael Van Canneyt
> <mich...@freepascal.org> wrote:
>>
>>
>> On Sat, 5 May 2018, Marcos Douglas B. Santos wrote:
>>
>>>
On Sun, May 6, 2018 at 6:26 PM, Marcos Douglas B. Santos <m...@delfire.net>
wrote:
> On Sun, May 6, 2018 at 6:05 PM, leledumbo via fpc-pascal
> <fpc-pascal@lists.freepascal.org> wrote:
>>> Create a call that calls Application.Terminate.
>>
>> I just
th heaptrc?
About my test, do you have the same memleak?
Thanks.
Best,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, May 5, 2018 at 11:51 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Sat, 5 May 2018, Marcos Douglas B. Santos wrote:
>
>> I'm using fpWeb in standalone mode (fphttpapp unit) to develop and debug.
>> I would like to see the heaptrc log in t
Sorry guys, I've just forgot to setup in Lazarus, Config and Target this:
-Twin64 _AND_ -Px86_64 parameters.
In the first time, I just set -Twin32 but -P stayed "(default)":|
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
bly miss some units.
Check your installation of fpc."
After the installation, I can see these directories:
1. /bin/i386-win32
2. /units/i386-win32
3. /units/x86_64-win64
Should I have the same `/bin/x86_64-win64` directory after the compilation?
What am I missing here?
Best,
Marcos Dougla
be useful but I don't think it's "must have" (when I don't
> consider Delphi compat.).
I've said "would..." and "could..."
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
`fpc.web, fpc.xml, ...` but I know that we need to maintain the
compatibility with Delphi using the same names...
However, Lazarus could do that — we just need a replace in the code.
By the way, good work!
Best,
Marcos Douglas
___
fpc-pascal maill
/win64
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, Mar 11, 2018 at 11:51 AM, Vojtěch Čihák <vojtech.ci...@atlas.cz> wrote:
> With this modification and -gh it is alright:
>
Only if you declare `Bar` as `IBar` instead of `TBar`. Please, check
your code again.
Regards,
Marcos Douglas
___
Not here. I'm using FPC 3.0.4.
I've took a look at EMB documentation:
http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.Supports
Take a look at "Warning" section. That's the problem.
Marcos Douglas
___
fpc-pascal maillist -
is the problem...
All right, try to change your copy like this:
===begin===
Bar := TBar.Create;
try
if Supports(Bar, IBar) then
Writeln(Bar.Name + ' supports...');
finally
Bar.Free; << no Free
end;
===end===
Are you still se
On Sun, Mar 11, 2018 at 10:52 AM, Vojtěch Čihák <vojtech.ci...@atlas.cz> wrote:
>
> Hi,
>
> Bar shoud be released by Interface, no need to call Free.
I'm sorry, but `Bar` was defined as `Bar: TBar` so, it's a class not
an interfac
Bar.Free;
end;
end.
===end===
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
I've also compiled using FPC -> /tags/release_3_0_4 and I had no issues.
Seems a problem only in /branches/fixes_3_0 (after 37459 rev).
Regards,
Marcos Douglas
On Mon, Jan 22, 2018 at 11:37 PM, Marcos Douglas B. Santos <m...@delfire.net>
wrote:
> Hi,
> I've updated my F
if I compile using FPC 37459 rev.
I already scanned all my computer, starting in FPC/Lazarus directories but
AVG didn't found anything. The problem is just when I'm compiling.
Thoughts?
Best regards,
Marcos Douglas
___
fpc-pascal maillist
On Sat, Jan 6, 2018 at 2:41 PM, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> Am 06.01.2018 17:31 schrieb "Marcos Douglas B. Santos" <m...@delfire.net>:
>
> Does FPC have support for final methods?
>
> Please see ->
> http:/
Does FPC have support for final methods?
Please see ->
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Methods_(Delphi)#Final_Methods
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
rvice.
My service encapsulates the WS.
As I wrote previously to Michael, if the WS do not respond in "X
seconds", my service should forget it and return a "code Y".
Best,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.fr
requirement is: If WS do not respond in "X seconds", forget it and
return the "code Y".
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
is: Can I consume this WS with a max time to wait?
Would be better doing this in the code instead of change parameters in the
webserver. But, if there is no (simple) way to do that in the code, the
webserver more used to this app is Microsoft IIS.
Best regards,
Marc
all.
> o It does not include the command to call pas2js compiler.
> o Solving the previous remarks, the compilation fails with the message
> "plaintestreport.pas(166,6) Error: identifier not found "IRound""
>
>
> I will try
On Tue, Dec 5, 2017 at 10:13 PM, Graeme Geldenhuys
<mailingli...@geldenhuys.co.uk> wrote:
>
> Windows just isn't fun. Long live FreeBSD and Linux.
I believe you compile FPC on Linux, right?
So, why do you do the same on Windows? It's pretty easy...
Best,
Ma
On Thu, Nov 30, 2017 at 5:35 PM, Graeme Geldenhuys
<mailingli...@geldenhuys.co.uk> wrote:
> On 2017-11-29 23:37, Marcos Douglas B. Santos wrote:
>
>> "No one are using Object Pascal nowadays".
>
>
> It seems there is still pretty good interest in Object Pasc
...
> When I walked to school, we learned Pascal, I am suspicious, that this does
> not happen nowadays.
Yes.
And I think people are thinking in Object Pascal as Turbo Pascal or
something like that.
I believe most don't know about FPC as a modern compiler.
Is so simpler using Object Pascal e
t of
> the box.
>
> Without the need for compiling fpc.
>
> Without the need for an internet connection.
Have you already seen fpcup -> http://wiki.freepascal.org/fpcup ?
Best,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lis
> before they had their own compiler ready. I believe XE2 shipped with a FPC
> compiler. So FPC functionality (the compiler at least) must have enough to
> make it usable.
We have the compiler, now it just missing the widgets...
Best regards,
Marcos Douglas
__
scal nowadays".
I hear something like this two times per month. :\
However, we know the potential of Object Pascal as a language to do anything.
If we have a better marketing, maybe more programmers could have more
interest to use the language.
Best,
Marcos Douglas
__
On Wed, Nov 29, 2017 at 11:31 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Wed, 29 Nov 2017, Marcos Douglas B. Santos wrote:
>
>> On Wed, Nov 29, 2017 at 11:10 AM, Michael Van Canneyt
>> <mich...@freepascal.org> wrote:
>>
2js included in that version?
Best,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
the compile step.
>
> This is how we compile web projects currently.
What? I thought that you use FPC for web projects...
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
because it will still missing the components.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Em 25 de nov de 2017 2:43 PM, "Martin Schreiber" <mse00...@gmail.com>
escreveu:
And why Free Pascal to develop the android application?
For the same reasons that we use Object Pascal instead of C# , Java,
whatever.
Best,
Marcos Douglas
___
quite impressed with the processing power of fastcgi fcl-web
> applications: they consume little memory (less than 2 MB per instance) and
> are very fast to process the requests.
It is fast even on Windows+IIS. ;)
Best regards,
Marcos Douglas
__
t; That is often what I use type aliases for, aliasing code that has been
> factored out of an unit back in.
>
>
> Okay, that's an acceptable use case ^^'
So, can we have this in the next version? :)
Best regards,
Marcos Douglas
___
fpc-pasc
On Sun, Oct 22, 2017 at 11:53 PM, Ryan Joseph
<r...@thealchemistguild.com> wrote:
>
>
>> On Oct 23, 2017, at 9:14 AM, Marcos Douglas B. Santos <m...@delfire.net>
>> wrote:
>>
>> How do the same with generic classes, using mode delphi?
>
> I think
r...
>>
>> That said I also don't see the use of type aliases for generics...
>
> How about a simple
>
>
> type = anotherunit.;
>
> ?
>
> That is often what I use type aliases for, aliasing code that has been
> factored out of an unit back in.
Hi,
In Pascal we can do this:
type
TXStream = TStream;
Now, TXStream is just an alias to TStream.
How do the same with generic classes, using mode delphi?
TBar = TFoo;
Compile Project, Target: C:\temp\project1.exe: Exit code 1, Errors: 4
project1.lpr(25,18) Error: Identifier not found
with this project is that it is not updated since 3 years.
My concern is to use something that is no longer updated.
Would be better if the original author, who made this version, update
the sources.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@li
which was released in Feb/2006.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
c work with the visual components,
> and it starts to look really good.
Looks a huge work!
Thanks for that preview.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, Oct 14, 2017 at 1:01 AM, leledumbo via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> Marcos Douglas B. Santos wrote
>> I didn't found... In this path \packages\googleapi\examples only
>> exists \generator directory. :(
>>
>> Trunk, rev 37453.
>
On Wed, Oct 11, 2017 at 10:17 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
>
> On Wed, 11 Oct 2017, Marcos Douglas B. Santos wrote:
>
>> Hi,
>>
>> I would like to know if FPC implements the full Google Drive API. If
>> so, since which versio
On Wed, Oct 11, 2017 at 9:33 AM, <pasc...@piments.com> wrote:
> On 11/10/17 13:11, Michael Van Canneyt wrote:
>>
>> Delphi has recently
>
>
> Huh? I thought Delphi got shut down years ago.
See https://www.embarcadero.com/pr
Hi,
I would like to know if FPC implements the full Google Drive API. If
so, since which version?
First, I need to implement upload, download and search of files [1].
Any example?
[1] https://developers.google.com/drive/v3/web/manage-uploads
Thanks,
Marcos Douglas
On Wed, Oct 11, 2017 at 9:11 AM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
>
> On Wed, 11 Oct 2017, Marcos Douglas B. Santos wrote:
>
> [...]
>> Is constref compatible with Delphi?
>
>
> Delphi has recently introduced some annotation for the same purpos
functions that
>> take records as arguments and I don’t want copying to the stack so I’ve
>> been using @ but maybe const is just as good? Thanks.
>
>
> No, you need constref then.
Is constref compatible with Delphi?
Regards,
Marcos Douglas
___
On Mon, Oct 9, 2017 at 3:54 PM, Maciej Izak <hnb.c...@gmail.com> wrote:
> 2017-10-09 14:43 GMT+02:00 Marcos Douglas B. Santos <m...@delfire.net>:
>>
>> This TAutoFree just "put" the "finally" and call .Free for an array of
>> objects
o
> begin
> ...
> end;
> ===code end===
>
> somehow similar in usage like "using" from C#
This TAutoFree just "put" the "finally" and call .Free for an array of
objects or does it something else?
Could you send the link of the implementation?
B
On Fri, Oct 6, 2017 at 4:49 PM, Michalis Kamburelis
<michalis.ka...@gmail.com> wrote:
> 2017-10-06 20:52 GMT+02:00 Marcos Douglas B. Santos <m...@delfire.net>:
> [...]
>>> In this case, in which you indeed want two of these features simultaneously,
>>> I advise
On Fri, Oct 6, 2017 at 4:17 PM, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" <m...@delfire.net>:
>> > And reference counting like in e.g. C++ "shared pointers", that can
>
On Fri, Oct 6, 2017 at 1:06 PM, Michalis Kamburelis
<michalis.ka...@gmail.com> wrote:
>
> 05.10.2017 2:07 PM "Marcos Douglas B. Santos" <m...@delfire.net> napisał(a):
>
> [...]
> As Sven told you, just use COM Interfaces.
> Look this
pay attention when to author says "Ugly (COM) interfaces"
because it is not. :)
Really, it is not.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
any problems. These apps are fast and I can use shared
code between Desktop and Web. Very good.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Sep 6, 2017 at 10:17 PM, Ryan Joseph wrote:
>
>> On Sep 6, 2017, at 10:20 PM, Sven Barth via fpc-pascal
>> wrote:
>>
>> You're missing that FHook was declared as IHook, not THook.
>>
>
> In terms of memory why does it matter
e Translator).
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Aug 23, 2017 at 3:25 PM, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> On 23.08.2017 19:57, Marcos Douglas B. Santos wrote:
>> Would we have any problem of memory leaks using Interface helper with
>> COM interfaces (refcount)?
>> I
mentation not by a class, but by a "interface helper".
It's like default methods in Java(?) that we have code inside an interface...
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, Aug 23, 2017 at 12:13 PM, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:
> Am 23.08.2017 16:58 schrieb "Marcos Douglas B. Santos" <m...@delfire.net>:
>>
>> Is this compatible with Delphi?
>
> Interface helpers are only sup
gt; function ToString: string;
> end;
I didn't know that helpers could be used in enums too. Great.
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ve small interfaces but add some methods in just some places,
extending such interfaces.
Is this compatible with Delphi?
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
original method.
Am I right?
(please say yes)
Best regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
1 - 100 of 662 matches
Mail list logo