On 20 Jun 2008, at 10:35, Bent Normann Olsen wrote:
I did try to install FPC-2.2.2rc1, but eventually had to revert to
previous
installation due to different kinds of errors when compiling.
The errors ranged from "range check" errors to syntax errors,
Please provide example programs which
On 20 Jun 2008, at 14:13, Bent Normann Olsen wrote:
I've been working with CFBundle unit to try and figure how to get
information about language settings, and so far with no luck. I've
read
about how Mac OS X works with internationalization, which automates
language
processing, but this is
Jonas Maebe schrieb:
On 20 Jun 2008, at 10:35, Bent Normann Olsen wrote:
I did try to install FPC-2.2.2rc1, but eventually had to revert to
previous
installation due to different kinds of errors when compiling.
The errors ranged from "range check" errors to syntax errors,
Please provide ex
On 21 Jun 2008, at 13:13, Florian Klaempfl wrote:
Jonas Maebe schrieb:
On 20 Jun 2008, at 10:35, Bent Normann Olsen wrote:
I did try to install FPC-2.2.2rc1, but eventually had to revert to
previous
installation due to different kinds of errors when compiling.
The errors ranged from "range
> I've been working with CFBundle unit to try and figure how to get
> information about language settings, and so far with no luck. I've read
> about how Mac OS X works with internationalization, which automates language
> processing, but this is "no can do" for me, or I just can't get the right
>
On 21 Jun 2008, at 13:21, Marco van de Voort wrote:
Aside from Jonas' remarks, FPC 2.2.2 comes with a locale unit that
loads
the constants in sysutils with the system's locale settings when you
include
it. I verified, and it is also enabled for Darwin.
Those locale settings are unrelated
Hi
I am finally able to get an ARMEL binary of FPC compiler 2.3.1 on my
qemu emulated debian system. Have a look at the following:-
But alas I still unable to compile the fpc svn trunk with this. It
hangs for sometime while compiling system.pp and breaks out. At least
I need all the ppu files be
Hello,
I am trying to use TCompressionStream to compress a string. But the
destination stream is empty. Here is by code, thanks:
program stringcompressor;
{$apptype console}
uses
Classes, SysUtils, zstream;
var
Compressor: TCompressionStream;
Source: TStringStream;
Dest: TMemoryStream;
Felipe Monteiro de Carvalho wrote:
Hello,
I am trying to use TCompressionStream to compress a string. But the
destination stream is empty. Here is by code, thanks:
program stringcompressor;
{$apptype console}
uses
Classes, SysUtils, zstream;
var
Compressor: TCompressionStream;
Source:
> for i := 0 to Dest.Size - 1 do
> IntToHex(Dest.ReadByte, 2);
Personally, I'd write() the strings that come from inttohex, instead of
discarding them :_)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/m
On Sat, Jun 21, 2008 at 2:11 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> Personally, I'd write() the strings that come from inttohex, instead of
> discarding them :_)
Indeed ... but that doesn't change anything =) It doesn't enter the
loop ... I checked with the debugger.
> What about use
On Sat, 21 Jun 2008, Felipe Monteiro de Carvalho wrote:
> Hello,
>
> I am trying to use TCompressionStream to compress a string. But the
> destination stream is empty. Here is by code, thanks:
>
> program stringcompressor;
>
> {$apptype console}
>
> uses
> Classes, SysUtils, zstream;
>
>
On Sat, Jun 21, 2008 at 2:27 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
> Call Compressor.flush first, only then all data will be in dest.
> This is done automatically when it is destroyed:
There is no Compressor.Flush. But freeing it seams to work.
Now I am having trouble using TDecompre
On Sat, 21 Jun 2008, Felipe Monteiro de Carvalho wrote:
> On Sat, Jun 21, 2008 at 2:27 PM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
> > Call Compressor.flush first, only then all data will be in dest.
> > This is done automatically when it is destroyed:
>
> There is no Compressor.Flush.
On Sat, Jun 21, 2008 at 2:48 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
> Copy & paste from zstream:
You are certainly not using FPC 2.2.0!!
> You cannot use CopyFrom.
> You must do a read till there is no data anymore.
ok ... thanks
--
Felipe Monteiro de Carvalho
_
On Sat, 21 Jun 2008, Felipe Monteiro de Carvalho wrote:
> On Sat, Jun 21, 2008 at 2:48 PM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
> > Copy & paste from zstream:
>
> You are certainly not using FPC 2.2.0!!
Correct, I'm using 2.2.2 or higher.
Michael.
_
On Sat, Jun 21, 2008 at 2:48 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
> You cannot use CopyFrom.
> You must do a read till there is no data anymore.
> See TStrings.LoadFromStream for instance.
Indeed. TStrings.LoadFromStream works in the decompressor =)
thanks,
--
Felipe Monteiro de Ca
2008/6/20 Henry Vermaak <[EMAIL PROTECTED]>:
> mplayer has a -wid option that takes a window id in which to embed
> itself. i haven't tried this, though.
Wow!!! That is such a cool idea. I just tried it with a simple fpGUI
one form application. Used xwininfo to find it's window id and
launched m
Hi all,
I'm pretty new to both "open arrays" and OOP, and am feeling a bit
concerned about memory management and leaks in my code. I will jump
straight into examples and questions:
type
T_my_object = object (TObject)
{...}
end;
T_my_class = class (TComponent)
{...}
end
19 matches
Mail list logo