Re: [fpc-pascal] ObjAuto.ObjectInvoke

2014-02-22 Thread silvioprog
2014-02-22 19:21 GMT-03:00 Maciej Izak : > AFAIK - no. We must wait when someone will implement RTTI.Invoke (Sven? or > if no one decide to implement this then I will try). With RTTI.Invoke will > be possible to implement ObjAuto... > > Regards, > Maciej Izak (aka. HNB) > This will be a nice fea

Re: [fpc-pascal] ObjAuto.ObjectInvoke

2014-02-22 Thread Maciej Izak
AFAIK - no. We must wait when someone will implement RTTI.Invoke (Sven? or if no one decide to implement this then I will try). With RTTI.Invoke will be possible to implement ObjAuto... Regards, Maciej Izak (aka. HNB) 2014-02-22 21:00 GMT+01:00 silvioprog : > Hello, > > Is there any alternative

[fpc-pascal] ObjAuto.ObjectInvoke

2014-02-22 Thread silvioprog
Hello, Is there any alternative to the ObjAuto.ObjectInvoke routine of Delphi XEs?: http://docwiki.embarcadero.com/CodeExamples/XE3/en/ObjectInvoke_(Delphi) Thank you! -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillis

Re: [fpc-pascal] Format(), leading zeros, and hex digits

2014-02-22 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sat, 22 Feb 2014, Mark Morgan Lloyd wrote: Is it possible to get Format() to pad with leading zeros rather than spaces, particularly in the case of hex numbers? My understanding is that printf() interprets e.g. %02s as being padded with zeros. For string argumen

Re: [fpc-pascal] Invalid standard handles in Windows service mode?

2014-02-22 Thread Michael Van Canneyt
On Sat, 22 Feb 2014, MegaBrutal wrote: 2014-02-21 10:18 GMT+01:00 Michael Van Canneyt : You can check the handle of the StdOutputHandle variable. if it is invalid (-1), you don't have output. Thanks for your reply, it helped a lot! StdOutputHandle is 24 when I start the program on t

Re: [fpc-pascal] Issue 25114 needs to be assigned

2014-02-22 Thread Michael Van Canneyt
Done. Michael. On Fri, 21 Feb 2014, Daniel Gaspary wrote: Hi, Could someone assign the issue[1] to Sergei (Gorelkin)? I want to fix the problem, but I need his input on the subject. Thank you, Daniel [1] http://bugs.freepascal.org/view.php?id=25114#c71108

Re: [fpc-pascal] Format(), leading zeros, and hex digits

2014-02-22 Thread Michael Van Canneyt
On Sat, 22 Feb 2014, Mark Morgan Lloyd wrote: Is it possible to get Format() to pad with leading zeros rather than spaces, particularly in the case of hex numbers? My understanding is that printf() interprets e.g. %02s as being padded with zeros. For string arguments, this is not possible.

[fpc-pascal] Format(), leading zeros, and hex digits

2014-02-22 Thread Mark Morgan Lloyd
Is it possible to get Format() to pad with leading zeros rather than spaces, particularly in the case of hex numbers? My understanding is that printf() interprets e.g. %02s as being padded with zeros. In a similar vein, am I correct in understanding that FPC's Format() doesn't allow the case t