On Sun, Nov 17, 2024 at 9:57 AM Sven Barth via fpc-pascal
wrote:
>
> Am 16.11.2024 um 16:42 schrieb Marcos Douglas B. Santos via fpc-pascal:
> > "anonymous procedures" now
> > exist and can also be declared "anywhere";
>
> You didn't get the
that all these new features would NOT break the "philosophy of
> > the language," unlike what has been added over the years.
>
> As most people on the lists know, my concern for the "philosophy of
> the language" is big. I make no secret of it.
&g
he "philosophy of
the language," unlike what has been added over the years.
In short, if the language retained its philosophy, its simplicity,
while adding only what the world demands today (web and mobile apps),
we wouldn't need to spend time debating how to attract new developers
to t
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
__
gt; project.
> >
> > unit TOML;
> > interface
> > uses
> > TOMLParser in '/sources',
> > TOMLTypes in '/sources';
>
> uses
> TOMLParser in 'sources/TOMLParser.pas',
> TOMLTypes in 'sources/TOMLTypes.pas';
>
&g
;t have examples for you, sorry.
att,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ortuguese:
https://objectpascalprogramming.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
s linklib, 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
__
unctions, 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,
Marc
ssage box, or how to use 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/~
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 con
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 abo
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...
How?
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
>>
tried 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
> msegui;
>
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
ascal.org/pipermail/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
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}
and over again, are 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 but
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
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
On Sat, May 26, 2018 at 4:56 PM, Marco van de Voort 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 with methods). Helpers
>
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
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 ?
>>>
>>>
>>>
>>> I
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.freepascal.org
h
On Wed, May 9, 2018 at 3:47 AM, Michael Van Canneyt
wrote:
>
>
> On Tue, 8 May 2018, Marcos Douglas B. Santos wrote:
>
>> On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt
>> wrote:
>>>
>>>
>>>
>>> On Mon, 7 May 2018, Marcos Dou
On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt
wrote:
>
>
> On Mon, 7 May 2018, Marcos Douglas B. Santos wrote:
>
>>> Application.Run;
>>> end.
>>>
>>> ===END===
>>>
>>> My environment is: Lazarus 1.8.3 r57764 FPC 3.0
On Sun, May 6, 2018 at 5:44 PM, Marcos Douglas B. Santos
wrote:
> On Sat, May 5, 2018 at 11:51 AM, Michael Van Canneyt
> wrote:
>>
>>
>> On Sat, 5 May 2018, Marcos Douglas B. Santos wrote:
>>
>>> I'm using fpWeb in standalone mode (fphttpapp unit) t
On Sun, May 6, 2018 at 6:26 PM, Marcos Douglas B. Santos
wrote:
> On Sun, May 6, 2018 at 6:05 PM, leledumbo via fpc-pascal
> wrote:
>>> Create a call that calls Application.Terminate.
>>
>> I just call DumpHeap(false); instead
>
> Where is this function
ave 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
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 the end, as we can do in n
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
http://list
will probably 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,
Mar
7;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
w 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 maillist - fpc-pascal@lists.fr
764 FPC 3.0.4 i386-win32-win32/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 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
___
fpc-pascal maillist
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-pasca
, 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 seeing an AV?
Marcos Douglas
___
On Sun, Mar 11, 2018 at 10:52 AM, Vojtěch Čihák 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 interface.
Marcos Douglas
_
..');
finally
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
wrote:
> Hi,
> I've updated my FPC -> /branches/fi
not occur 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
___
f
On Sat, Jan 6, 2018 at 2:41 PM, Sven Barth via fpc-pascal
wrote:
> Am 06.01.2018 17:31 schrieb "Marcos Douglas B. Santos" :
>
> Does FPC have support for final methods?
>
> Please see ->
> http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Methods_(Delphi)#Final_Me
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/
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.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
f 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
s 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 to convert a little JavaScript project I have to pascal and use
On Tue, Dec 5, 2017 at 10:13 PM, Graeme Geldenhuys
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,
Marcos Douglas
___
On Thu, Nov 30, 2017 at 5:35 PM, Graeme Geldenhuys
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 Pascal in Brazil. We
> have a 21 ye
ked 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 environ
out 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@lists.freepascal.org
http://lists.free
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
___
fpc-pascal maillist
omething 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
___
fpc
On Wed, Nov 29, 2017 at 11:31 AM, Michael Van Canneyt
wrote:
>
>
> On Wed, 29 Nov 2017, Marcos Douglas B. Santos wrote:
>
>> On Wed, Nov 29, 2017 at 11:10 AM, Michael Van Canneyt
>> wrote:
>>>
>>>
>>> I do. I meant that I use pas2js as the p
On Wed, Nov 29, 2017 at 11:10 AM, Michael Van Canneyt
wrote:
>
> I do. I meant that I use pas2js as the precompiler command.
Hmm... right.
I saw yesterday, in the official website, that FPC 3.0.4 was released
but I didn't see an email about it...
Is pas2js included in that version?
B
pops up after a IDE crash doesn't work (the irony), code syntax check
>> is broken, can't customise the shortcuts etc. I so miss Lazarus and FPC!
>> [/dreaming]
>
>
> You can. In the project options, set the Pre-compiler command to DCC32.
> Uncheck the compil
the bug reporting dialog
> that pops up after a IDE crash doesn't work (the irony), code syntax check
> is broken, can't customise the shortcuts etc. I so miss Lazarus and FPC!
> [/dreaming]
Even if Lazarus could support Delphi dcc32, would not be enough
because it will still m
Em 25 de nov de 2017 2:43 PM, "Martin Schreiber"
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
___
fpc-pascal mailli
cl-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
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
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-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, Oct 22, 2017 at 11:53 PM, Ryan Joseph
wrote:
>
>
>> On Oct 23, 2017, at 9:14 AM, Marcos Douglas B. Santos
>> wrote:
>>
>> How do the same with generic classes, using mode delphi?
>
> I think you need to specialize then alias the specialize type. Why
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
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 "T"
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@lists.freepascal.org
http://lists.fr
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
ponents,
> 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
wrote:
> Marcos Douglas B. Santos wrote
>> I didn't found... In this path \packages\googleapi\examples only
>> exists \generator directory. :(
>>
>> Trunk, rev 37453.
>
> Try this, it wasn't
On Wed, Oct 11, 2017 at 10:17 AM, Michael Van Canneyt
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 version?
>
>
> Yes, since v
On Wed, Oct 11, 2017 at 9:33 AM, 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/products/delphi
Marcos Douglas
__
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
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 purpose.
>
> As usual, they cho
cords 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
___
fpc-pascal mail
On Mon, Oct 9, 2017 at 3:54 PM, Maciej Izak wrote:
> 2017-10-09 14:43 GMT+02:00 Marcos Douglas B. Santos :
>>
>> This TAutoFree just "put" the "finally" and call .Free for an array of
>> objects or does it something else?
>> Could you send the link
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?
Best regards,
Marcos Douglas
___
nks:
-
http://lazarus.lazarus.freepascal.narkive.com/Fe8TZqtR/tbufdataset-tmemdataset-and-a-big-headache
- http://forum.lazarus.freepascal.org/index.php?topic=30454.0
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
htt
nk you.
Most developers are using single .inc file that contains all
directives for the whole project.
You only need to remember to include this file in all units of your projects.
Regards,
Marcos Douglas
___
fpc-pascal maillist - fpc-pascal@lists.free
On Fri, Oct 6, 2017 at 4:49 PM, Michalis Kamburelis
wrote:
> 2017-10-06 20:52 GMT+02:00 Marcos Douglas B. Santos :
> [...]
>>> In this case, in which you indeed want two of these features simultaneously,
>>> I advise COM interfaces myself :) That's why they are docu
On Fri, Oct 6, 2017 at 4:17 PM, Sven Barth via fpc-pascal
wrote:
> Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" :
>> > And reference counting like in e.g. C++ "shared pointers", that can
>> > wrap any
>> > class, without any
On Fri, Oct 6, 2017 at 1:06 PM, Michalis Kamburelis
wrote:
>
> 05.10.2017 2:07 PM "Marcos Douglas B. Santos" napisał(a):
>
> [...]
> As Sven told you, just use COM Interfaces.
> Look this explanation ->
> http://castle-engine.io/modern_pascal_introduction.html#
till like that syntax
> option.
>
As Sven told you, just use COM Interfaces.
Look this explanation ->
http://castle-engine.io/modern_pascal_introduction.html#_corba_and_com_types_of_interfaces
but don't pay attention when to author says "Ugly (COM
ps 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 how it was declared? The memory was
> allocated in Create() so
(use Google 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
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 mean, the "type helper" has construct
1 - 100 of 714 matches
Mail list logo