Hi,
I have created a feature request for Firebird SQL, to add support for
multibyte characters when dealing with the string functions in FB.
http://tracker.firebirdsql.org/browse/CORE-3630
Can you please vote for it ?
Thanks,
Ido
LINESIP - Opening the source for communication
On Sat, Oct 15, 2011 at 00:25, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
E.g., if fpi existed, I would add a shebang like this to my code:
#!/usr/bin/env fpi
InstantFPC http://wiki.freepascal.org/InstantFPC
Cheers,
Andrew Pennebaker
www.yellosoft.us
On Sat, Oct 15, 2011 at 00:43, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
Thanks ik. Merf, it appears fpc can't compile when a shebang is added. In
future versions, can fpc treat shebangs as comments so that instantfpc code
could be compiled like normal Free Pascal code?
$ cat
On Sat, Oct 15, 2011 at 00:48, ik ido...@gmail.com wrote:
On Sat, Oct 15, 2011 at 00:43, Andrew Pennebaker
andrew.penneba...@gmail.com wrote:
Thanks ik. Merf, it appears fpc can't compile when a shebang is added. In
future versions, can fpc treat shebangs as comments so that instantfpc code
Hello list,
I'm trying to figure out how to get hardware information about the machine
i'm running at in Linux OS.
For example: hard-drive size, manufacture etc...
BIOS information, screen information (regardless of X, that is the hardware
itself), cards that are assigned and the whole
On Tue, Oct 18, 2011 at 21:44, Michael Van Canneyt
mich...@freepascal.orgwrote:
On Tue, 18 Oct 2011, ik wrote:
Hello list,
I'm trying to figure out how to get hardware information about the machine
i'm running at in Linux OS.
For example: hard-drive size, manufacture etc...
BIOS
Hello List,
Since 2.6.0, when you write something like this:
procedure foo(AClass : TStrings);
foo(MyStringList); // Will return an error that TStrings is expected ...
I can not use TStringList as the parameter without casting it to TStrings.
But I do not understand why this limitation added.
On Mon, Nov 14, 2011 at 23:03, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
On 13 Nov 2011, at 17:56, Graeme Geldenhuys wrote:
On 12/11/2011, ik idokan@ wrote:
procedure foo(AClass : TStrings);
foo(MyStringList); // Will return an error that TStrings is expected ...
I can
On Thu, Nov 17, 2011 at 16:03, Sven Barth pascaldra...@googlemail.comwrote:
Am 17.11.2011 09:23, schrieb ik:
It's not allowed in Delphi in case of a var/out parameter. It's
allowed in both FPC and Delphi in case of a value/const parameter.
Sorry for the late response, but why does
On Thu, Nov 17, 2011 at 16:15, Sven Barth pascaldra...@googlemail.comwrote:
Am 17.11.2011 15:07, schrieb ik:
On Thu, Nov 17, 2011 at 16:03, Sven Barth pascaldra...@googlemail.com
mailto:pascaldragon@**googlemail.com pascaldra...@googlemail.com
wrote:
Am 17.11.2011 09:23, schrieb ik
Hello,
I'm Trying to send notification using D-Bus Notify method.
The thing is, that I do not understand how to properly use it.
My current code:
https://github.com/ik5/display-quotes/blob/master/src/units/untquotedbus.pas#L92
I'ved marked the place where i Have AccessViolation exception.
What
On Thu, Nov 24, 2011 at 20:19, Ludo Brands ludo.bra...@free.fr wrote:
**
I'm Trying to send notification using D-Bus Notify method.
The thing is, that I do not understand how to properly use it.
My current code:
On Thu, Nov 24, 2011 at 21:33, Ludo Brands ludo.bra...@free.fr wrote:
**
I'm Trying to send notification using D-Bus Notify method.
The thing is, that I do not understand how to properly use it.
My current code:
Hello,
I have a requirement to create an API for application that C# can
communicate with using dll (rather then REST). What is required by FPC to
be able to create such DLL ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Mon, Nov 28, 2011 at 10:22, ik ido...@gmail.com wrote:
Hello,
I have a requirement to create an API for application that C# can
communicate with using dll (rather then REST). What is required by FPC to
be able to create such DLL ?
And one other thing I forgot, it must support classes
On Mon, Nov 28, 2011 at 10:57, Elmar Haneke el...@haneke.de wrote:
And one other thing I forgot, it must support classes.
You have to write an procedural wrapper around your class - each method
gets an Procedure thar recieves the object as parameter and calls that
object's method. These
On Sun, Dec 11, 2011 at 23:35, Torsten Bonde Christiansen
t...@epidata.dkwrote:
Hi.
I'm trying to create a shared library (under linux) and I not sure what the
difference between the modifier *export* and the section *exports* is? Or
perhaps
when to use one and the other...
export means
Hello,
I'm trying to rebuild Lazarus with some components, and having the
following error message on an FPC based unit:
PPU Loading /usr/lib/fpc/2.5.1/units/x86_64-linux/fcl-db/fpxmlxsdexport.ppu
Recompiling fpXMLXSDExport, checksum changed for base64
It only happen on Lazarus. normal app does not raise such error.
On Tue, Dec 13, 2011 at 18:55, ik ido...@gmail.com wrote:
Hello,
I'm trying to rebuild Lazarus with some components, and having the
following error message on an FPC based unit:
PPU Loading /usr/lib/fpc/2.5.1/units/x86_64
On Tue, Dec 13, 2011 at 22:14, leledumbo leledumbo_c...@yahoo.co.id wrote:
Old PPU of base64, try recompiling everything (because there's a chance
that
more packages are having the same problem), make a clean build if possible.
A clean svn version of fpc 2.6.0 (rc), and Lazarus 0.9.31 r34161
On Tue, Dec 13, 2011 at 23:40, Mattias Gaertner
nc-gaert...@netcologne.dewrote:
On Tue, 13 Dec 2011 23:08:39 +0200
ik ido...@gmail.com wrote:
On Tue, Dec 13, 2011 at 22:14, leledumbo leledumbo_c...@yahoo.co.id
wrote:
Old PPU of base64, try recompiling everything (because there's
Hello,
I'm using FPC 2.6 (rc) x86_64 on Linux with JSONParser.
I've written the following code:
---
uses fpjson, jsonparser, SysUtils, classes;
var
parser: TJSONParser;
json_file : TFileStream;
begin
json_file := TFileStream.Create('/tmp/test.json', fmOpenRead);
On Sun, Dec 18, 2011 at 19:34, silvioprog silviop...@gmail.com wrote:
2011/12/18 ik ido...@gmail.com:
Hello,
I'm using FPC 2.6 (rc) x86_64 on Linux with JSONParser.
I've written the following code:
Use:
var
parser: TJSONParser;
json_data: TJSONData;
json_file: TFileStream
On Sun, Dec 18, 2011 at 22:27, Frank Church vfcli...@gmail.com wrote:
On 18 December 2011 17:34, silvioprog silviop...@gmail.com wrote:
2011/12/18 ik ido...@gmail.com:
Hello,
I'm using FPC 2.6 (rc) x86_64 on Linux with JSONParser.
I've written the following code:
Use:
var
On Sun, Dec 18, 2011 at 19:39, Michael Van Canneyt
mich...@freepascal.orgwrote:
On Sun, 18 Dec 2011, ik wrote:
Hello,
I'm using FPC 2.6 (rc) x86_64 on Linux with JSONParser.
I've written the following code:
---
uses fpjson, jsonparser, SysUtils, classes;
var
Hello,
Exceptions like the name suggested, is to mark something that you are not
suppose to expect.
For example while getting a data something went wrong, like disconnection,
wrong size of data etc...
The usage of exception is very costly in performance, and there for should
use only on specific
Better redefining my problem:
I have a first union. But on records we do not end case with end. and
beneath the union, I have to place another union, or another fields that is
not part of the union.
How can I do that ?
Thanks,
Ido
On Mon, Dec 26, 2011 at 16:41, ik ido...@gmail.com wrote
Thank you all for your help
Ido
On Mon, Dec 26, 2011 at 20:54, dmitry boyarintsev skalogryz.li...@gmail.com
wrote:
Chelper also has hard-timer converting the structure:
It failed on union nf_inet_addr haddr, hmask; so I had to comment it
out. Some structures are missing completely.
type
Hello,
I found the following code:
/* this is a special 64bit data type that is 8-byte aligned */
#define aligned_u64 u_int64_t __attribute__((aligned(8)))
And few other __attribute__ based code as well. Some of them are
useless for Pascal at all,
but changing alignment for a variable type is
Hello,
I wish to trap two signals in Linux (ABRT and HUP), how can I do that ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, Jan 3, 2012 at 12:16, michael.vancann...@wisa.be wrote:
On Tue, 3 Jan 2012, ik wrote:
Hello,
I wish to trap two signals in Linux (ABRT and HUP), how can I do that ?
Install a signal handler.
See e.g.
http://www.freepascal.org/**docs-html/rtl/baseunix/**fpsigaction.htmlhttp
On Tue, Jan 3, 2012 at 12:24, ik ido...@gmail.com wrote:
On Tue, Jan 3, 2012 at 12:16, michael.vancann...@wisa.be wrote:
On Tue, 3 Jan 2012, ik wrote:
Hello,
I wish to trap two signals in Linux (ABRT and HUP), how can I do that ?
Install a signal handler.
See e.g.
http
Hello,
I'm trying to use the Format function to pad a number like so:
01
where the original value is $1.
I tried to do the following:
writeln(Format('%02X', [$1]));
writeln(Format('%0:2X', [$1]));
writeln(Format('%:2X', [$1]));
All of them created the following output:
1
What am I doing
On Mon, Jan 9, 2012 at 13:17, Sven Barth pascaldra...@googlemail.comwrote:
Am 09.01.2012 12:08 schrieb ik ido...@gmail.com:
Hello,
I'm trying to use the Format function to pad a number like so:
01
where the original value is $1.
I tried to do the following:
writeln(Format
Hello,
I've read today a thread about the subject's
projecthttp://code.google.com/p/delphilhlplib/%20
.
It is a free software project that we also be interested in.
So if any existed Pascal based code library can adopt it, I think we can
all benefit from it.
Ido
On Mon, Jan 9, 2012 at 18:24, Ralf A. Quint free...@gmx.net wrote:
At 05:17 AM 1/9/2012, ik wrote:
Hello,
I've read today a thread about http://code.google.com/p/**
delphilhlplib/%20 http://code.google.com/p/delphilhlplib/%20the
subject's project.
It is a free software project that we
Hello,
Does anyone know of a Redis client for FPC (and open source) ?
Another question:
If I need to implement it, how would you do it regarding dataset ?
I'm not sure that it is suited for the task, what do you think ?
Thanks,
Ido
___
fpc-pascal
On Wed, Jan 11, 2012 at 18:54, michael.vancann...@wisa.be wrote:
On Wed, 11 Jan 2012, ik wrote:
Hello,
Does anyone know of a Redis client for FPC (and open source) ?
Another question:
If I need to implement it, how would you do it regarding dataset ?
I'm not sure that it is suited
On Wed, Jan 11, 2012 at 21:36, Daniel Gaspary dgasp...@gmail.com wrote:
On Wed, Jan 11, 2012 at 15:32, ik ido...@gmail.com wrote:
Here is a new request for the new year/version of FPC :)
Additional way beside dataset to control databases, even if they are not
table/structure based
On Tue, Jan 17, 2012 at 15:19, michael.vancann...@wisa.be wrote:
On Tue, 17 Jan 2012, Mattias Gaertner wrote:
michael.vancann...@wisa.be hat am 17. Januar 2012 um 13:28 geschrieben:
On Tue, 17 Jan 2012, Mattias Gaertner wrote:
Hi,
I tried connecting to a mysql 5.5 database and used
Hello,
I'm trying to do the following:
-
var
a : procedure(var x : TOrdinal);
b : procedure(var x : integer);
begin
a := @inc;
b := @dec;
end.
---
I simplified the original code of mine to this specific example to make it
more clear.
At variable a, I get the following
On Thu, Jan 19, 2012 at 11:37, Reinier Olislagers
reinierolislag...@gmail.com wrote:
Hi list,
I noticed ik has started a project to manipulate Linux iptables firewall
rules... which got me thinking.
Is there any FreePascal/Delphi code lying around to parse IPtables log
output (e.g
Hello,
I was looking to understand in what version of FPC ($IF defined ... } was
added, and realized that it is not very simple to detect such information.
So beside this question of when was it added ?
What is the best way to find such information ?
Another question, should I open a bug for
Hello,
I've started to work on protocol implementation for Redis.
It seems that there isn't even one implementation for it for Pascal
(including Delphi).
At the moment it is built to work only with Synapse, however after the
first implementation,
I'll wish to create additional libraries such as
Hello,
How can I detect if a tcp socket is open or not in synapse ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sat, Jan 21, 2012 at 14:19, Daniel Gaspary dgasp...@gmail.com wrote:
On Sat, Jan 21, 2012 at 09:28, ik ido...@gmail.com wrote:
Hello,
How can I detect if a tcp socket is open or not in synapse ?
Trying to send and detecting if an error was raisen:
http://www.ararat.cz/synapse
On Sat, Jan 21, 2012 at 14:27, Daniel Gaspary dgasp...@gmail.com wrote:
On Fri, Jan 20, 2012 at 18:18, ik ido...@gmail.com wrote:
The code is released under LGPL 3. I do wish to allow open/free and
commercial usage, but to
have any changes, additions etc, contribute back for everyone
Hello,
In the following code (
https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55),
when I point, I have access violation when trying to create
TRedisErrorReturnType.Create
It does not happen for TRedisStatusReturnType.Create for example, that have
the same parent as
On Mon, Jan 23, 2012 at 16:28, ik ido...@gmail.com wrote:
Hello,
In the following code (
https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55),
when I point, I have access violation when trying to create
TRedisErrorReturnType.Create
It does not happen
On Mon, Jan 23, 2012 at 17:10, Henry Vermaak henry.verm...@gmail.comwrote:
On 23/01/12 14:56, ik wrote:
On Mon, Jan 23, 2012 at 16:28, ik ido...@gmail.com
mailto:ido...@gmail.com wrote:
Hello,
In the following code
(https://github.com/ik5/redit_**client.fpc/blob/master/tests
On Fri, Jan 20, 2012 at 22:18, ik ido...@gmail.com wrote:
Hello,
I've started to work on protocol implementation for Redis.
It seems that there isn't even one implementation for it for Pascal
(including Delphi).
At the moment it is built to work only with Synapse, however after the
first
Hello,
While testing my following code:
https://github.com/ik5/redis_client.fpc/blob/master/tests/test_parser.lpr#L166
When I'm executing the code on the second item (that is suppose to be null
in the protocol - '$-1#13#10'),
the program crashes with the following message:
*** glibc detected ***
On Thu, Jan 26, 2012 at 09:10, Michael Müller mueller_mich...@alice-dsl.net
wrote:
Am 26.01.2012 um 03:50 schrieb ik:
Hello,
While testing my following code:
https://github.com/ik5/redis_client.fpc/blob/master/tests/test_parser.lpr#L166
When I'm executing the code on the second item
On Sun, Jan 29, 2012 at 13:15, Florian Klämpfl flor...@freepascal.orgwrote:
Am 29.01.2012 11:55, schrieb Bart:
On 1/29/12, Florian Klämpfl flor...@freepascal.org wrote:
I've still backups back to 0.1 on 5 1/4 floppies somewhere :) Though
I've no idea if they still work :)
Hello,
I wish to create something like this:
function foo(a : String; b : array of const) : string;
begin
Result := bar([a] + b);
end;
But this works only on Sets.
The thing is, that A must be before the rest of b. and it is different
then the b values, that's why I extract it to a different
On Tue, Jan 31, 2012 at 11:19, Sven Barth pascaldra...@googlemail.comwrote:
Am 31.01.2012 09:55, schrieb ik:
Hello,
I wish to create something like this:
function foo(a : String; b : array of const) : string;
begin
Result := bar([a] + b);
end;
But this works only on Sets
On Mon, Feb 6, 2012 at 18:37, Mattias Gaertner nc-gaert...@netcologne.dewrote:
**
Hi,
I need to authenticate user name and password under Linux. These are
normal accounts so I guess libpam is the weapon of choice. But I can't
find any pam binding in the FPC sources.
Is there a better
On Mon, Feb 6, 2012 at 18:40, Reinier Olislagers
reinierolislag...@gmail.com wrote:
Busy porting FPCUP to Linux... think it's time to quit for the day
This code:
OperationSucceeded:=ForceDirectories(BootstrapCompilerDirectory);
debugln('todo: debug: forcedirectories bootstrap compiler
Hello,
Let's say I have a function that some of it's code (or all) can be used in
more then one location inside the function itself.
I can make a nested function with the code and set it to inline, make it
normal, or make a recursion with it.
What's the best practice in your opinion to take, and
On Mon, Feb 6, 2012 at 21:58, Sven Barth pascaldra...@googlemail.comwrote:
On 06.02.2012 19:51, ik wrote:
Hello,
Let's say I have a function that some of it's code (or all) can be used
in more then one location inside the function itself.
I can make a nested function with the code and set
Hello,
I need to rewrite the way I split data today, after I found out that the
specs and the reality of the content are different things.
At the moment I'm using a dynamic array of single dimension to store each
element of a list, however the actual data can arrive as a list inside a
list.
Can I
, ik ido...@gmail.com wrote:
Hello,
I need to rewrite the way I split data today, after I found out that the
specs and the reality of the content are different things.
At the moment I'm using a dynamic array of single dimension to store each
element of a list, however the actual data can arrive
Hello,
If my memory is not misleading me, there was once a TLinkedList class under
Classes unit, but I can't find any documentation on it.
I found an include file that contains it, but it is not meant for the
interface part.
Is there a reason for this ? Should I use records instead ?
Thanks,
On Fri, Feb 10, 2012 at 17:53, leledumbo leledumbo_c...@yahoo.co.id wrote:
I don't remember having that since 2.X.X... there was always TList,
however.
And that's what I was using (I use generics for all my containers use now).
Thanks. Personally I dislike generics at all. They are not that
On Tue, Feb 14, 2012 at 07:45, Carver413 carver...@gmail.com wrote:
doesn't generics more or less duplicate the class every time you use it
with
different type, and if so would this not cause alot of bloating ?
That's one of the things that I'm afraid of actually.
On Wed, Feb 15, 2012 at 11:19, Juha Manninen juha.mannine...@gmail.com wrote:
2012/2/15, Jorge Aldo G. de F. Junior jagf...@gmail.com:
i once read a textbook about generics (C++ generics) showing how C++
C++ does not have generics, it has templates. Templates syntax is
complex, you can do
Hello,
What is the best way measure execution time of functions ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Fri, Feb 17, 2012 at 10:06, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
On 16 February 2012 18:10, ik ido...@gmail.com wrote:
Hello,
What is the best way measure execution time of functions ?
You can also use fpprofiler. Search the wiki for more info.
Thank I'll look
Hello,
I'm looking for an open source based implementation (but not limiting
for commercial usage) of Reactor Pattern
(http://en.wikipedia.org/wiki/Reactor_pattern) to have something like
Ruby's EventMachine .
Does anyone know of such implementation ?
Thanks,
Ido
Hello,
I found the following amazing lecture that present a new idea of a
development tool, that I think will interest you all:
http://vimeo.com/36579366
Enjoy
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On Sun, Feb 26, 2012 at 13:25, zeljko zel...@holobit.net wrote:
On Sunday 26 of February 2012 11:43:38 Michael Van Canneyt wrote:
I don't see him doing this in huge corporate administrative business
programs where hundreds of database tables are involved.
and that tables can contain
Hello,
I translated the following struct
struct iphdr {
#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8ihl:4,
version:4;
#elif defined (__BIG_ENDIAN_BITFIELD)
__u8version:4,
ihl:4;
#else
#error Please fix asm/byteorder.h
#endif
__u8
Answering myself:
On Sun, Feb 26, 2012 at 14:54, ik ido...@gmail.com wrote:
Hello,
I translated the following struct
struct iphdr {
#if defined(__LITTLE_ENDIAN_BITFIELD)
__u8 ihl:4,
version:4;
#elif defined (__BIG_ENDIAN_BITFIELD)
__u8 version:4
On Sun, Feb 26, 2012 at 15:08, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 26 Feb 2012, at 13:54, ik wrote:
to the following Pascal record:
iphdr = record
{$IFDEF ENDIAN_LITTLE}
jhl : Cardinal; // __u8 ihl:4,
version : Cardinal; // version:4
On Sun, Feb 26, 2012 at 15:19, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
On 26 Feb 2012, at 14:16, ik wrote:
I'ved replaced it to
iphdr = bitpacked record
This is wrong. The record is a C record, and hence follows {$packrecord c}
rules. bitpacked record overrides any current
Hello,
I'm thinking now to use fpweb for a web application I need to build,
but the application is going to be over the internet, and I'm
interesting in knowing about few security issues that are supported or
not.
Does it have any CSRF protection ?
What other if any security tools does it have ?
the following error message:
make[4]: Leaving directory
`/home/ik/projects/foss/fpc/jvmbackend/rtl/android/jvm'
fpcmake -p -Tjvm-android Makefile.fpc
Processing Makefile.fpc
Error: No targets set
make[3]: *** [fpc_install] Error 1
make[3]: Leaving directory `/home/ik/projects/foss/fpc/jvmbackend/rtl'
make[2
On Tue, Apr 10, 2012 at 17:15, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
ik wrote on Tue, 10 Apr 2012:
Hello,
I'm trying to compile jvmbacked (once again after a long time).
It seems to work well at first with the following cli make:
sudo make CROSSOPT=-O2 -g -FD/usr/share/java
Hello,
Here is something that I'm asking without really know anything about
the subject, so please bear with me.
I'ved asked few places that works with Pascal (Delphi and FPC), why
does they use C as the infrastructure, and they all say that there is
not even one Pascal compiler that makes the
On Sun, Apr 29, 2012 at 12:58, Reinier Olislagers
reinierolislag...@gmail.com wrote:
On 29-4-2012 11:40, ik wrote:
Hello,
Here is something that I'm asking without really know anything about
the subject, so please bear with me.
I'ved asked few places that works with Pascal (Delphi and FPC
Hello,
Is there anyone who binded librsync into Pascal/FPC ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hello,
I see that most of the ELF on my system, contain a signature like so:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.32,
BuildID[sha1]=0x39645af26ea483eaae81df45bf34701580506115, stripped
There are two very interesting
On Mon, May 28, 2012 at 3:34 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
On 28 May 2012, at 14:09, ik wrote:
The second part is more interesting for this subject: It signs a checksum
of the ELF file, so any change to it will break the checksum.
It helps you to discover for example
On Sun, Jun 17, 2012 at 2:02 AM, Bernd prof7...@googlemail.com wrote:
Hi,
I am translating parts of the libpurple headers. Now I seem to have a
problem with this:
typedef enum
{
PURPLE_PLUGIN_UNKNOWN = -1, /** Unknown type.*/
PURPLE_PLUGIN_STANDARD = 0, /**
Hi,
I'm playing a bit with the notion of execute a method dynamically on demand.
I'ved created the following PoC:
https://gist.github.com/2950789
It works, but for some strange reason, I find myself feeling that I'm
missing something, or it should be done differently.
Does this code written
On Tue, Jun 19, 2012 at 12:51 AM, Bernd prof7...@googlemail.com wrote:
2012/6/18 ik ido...@gmail.com:
Hi,
I'm playing a bit with the notion of execute a method dynamically on
demand.
I'ved created the following PoC:
https://gist.github.com/2950789
Souldn't this be
Exec: procedure
On Tue, Jun 19, 2012 at 10:38 AM, Ludo Brands ludo.bra...@free.fr wrote:
As Bern said you can't call an object method without passing
the reference to the instance. In this case you are lucky
because TMyClass.SayHi doesn't use any properties or class
vars. Add a property to TMyClass and
Hello,
Is there a way to tell in run-time that a specific function/procedure
should belong to a class ?
For example, let's say I have the following class:
Type
TTest = class
procedure Foo;
end;
And I have also:
procedure Bar;
...
end;
Is there a way to make at some point of my code
On Tue, Jun 19, 2012 at 4:13 PM, Mattias Gaertner nc-gaert...@netcologne.de
wrote:
**
ik ido...@gmail.com hat am 19. Juni 2012 um 14:22 geschrieben:
Hello,
Is there a way to tell in run-time that a specific function/procedure
should belong to a class ?
For example, let's say I have
On Wed, Jun 20, 2012 at 8:33 AM, LacaK la...@zoznam.sk wrote:
**
Class helpers would not help ?
http://wiki.freepascal.org/Helper_types
They can, but there is a protocol that I'm trying to create that provides
me information what to execute (out of white list). The thing is, that the
first
On Wed, Jun 20, 2012 at 10:20 AM, michael.vancann...@wisa.be wrote:
On Wed, 20 Jun 2012, ik wrote:
On Wed, Jun 20, 2012 at 8:33 AM, LacaK la...@zoznam.sk wrote:
**
Class helpers would not help ?
http://wiki.freepascal.org/**Helper_typeshttp://wiki.freepascal.org/Helper_types
On Wed, Jun 20, 2012 at 2:15 PM, Inoussa OUEDRAOGO inouss...@gmail.comwrote:
Think of a plug-able system. I have an engine, and code to execute.
Instead of compile everything to an ELF/PE, I place code on dynamic shard
library, and load it on run time when needed.
The idea is that the
Hello,
What is require in order to develop addons for MS Outlook using FPC ?
Are there any existed headers that where bind to Pascal that does it ?
Thanks,
Ido
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Hi list,
A friend of mine started a hobby project:
Printing every Friday the 13, in a range of 5
yearshttp://blogs.perl.org/users/sawyer_x/2012/07/yet-another-friday-the-13th.html
.
I lack of the time for doing it at the moment, and I wish to add to his
github
On Sat, Aug 25, 2012 at 1:07 AM, Sven Barth pascaldra...@googlemail.comwrote:
Am 24.08.2012 21:21 schrieb Jonas Maebe jonas.ma...@elis.ugent.be:
On 24 Aug 2012, at 20:52, ik wrote:
For two weeks now, I have the following error message with FPC 2.7.1:
variant.inc(82,10) Error
On Sat, Aug 25, 2012 at 1:48 AM, Jonas Maebe jonas.ma...@elis.ugent.bewrote:
On 25 Aug 2012, at 00:37, ik wrote:
On Sat, Aug 25, 2012 at 1:07 AM, Sven Barth pascaldra...@googlemail.com
wrote:
Am 24.08.2012 21:21 schrieb Jonas Maebe jonas.ma...@elis.ugent.be:
It is something
Hello,
In order to use FPC jvm for android, what version should I be using of FPC ?
I tried to compile FPC 2.7.1 r22465. It complains on:
symdef.pas(620,38) Error: Identifier not found TAsmList
Thanks,
Ido
___
fpc-pascal maillist -
Hello,
Is there a way to create a static variable inside a procedure ?
The following code:
procedure static_variable;
var static_var : Integer = -1;
begin
inc(static_var);
writeln('static_var ', static_var);
end;
begin
while true do
begin
static_variable;
sleep(1000);
Hi List,
I've started working on porting msgpack (messagepack.org) to native
FreePascal code: (https://github.com/ik5/fp-msgpack).
If you do not know it, then it's a way to move data around with
minimal amount of bytes in process.
It was designed to take things like JSON and translate it into
On Mon, Oct 29, 2012 at 5:52 AM, 印場 乃亜 shir...@galapagossoftware.com wrote:
Greetings,
I am familiar with the basic underlying methods available for transferring
data between processes on Windows and Unix, i.e. Pipes, Shared memory, and
TCP/IP - but what I am not familiar with is any higher
1 - 100 of 416 matches
Mail list logo