On Sat, 5 Feb 2011 12:47:53 +0100, Michael Müller
wrote:
>Hi Bo!
>
>Am 03.02.2011 um 22:53 schrieb Bo Berglund:
>
>> function TSSCommBuf.Read(var Data: TByteArr): boolean; // <== ???
>> begin
>> Result := Read(@Data, SizeOf(Data)) = SizeOf(Data);
>> end;
>
>When using dynamic arrays @Data will n
Am 05.02.2011 13:49, schrieb José Mejuto:
Hello FPC-Pascal,
Browsing recent changes in compiler I saw that xmlxsdparser has been
updated with some timezone functions conversion. This conversions
seems wrong to me as they are performed using "today" conditions not
given date/time conditions, so i
Am 05.02.2011 10:46, schrieb Bo Berglund:
But that is not what I am doing at all, so I can stick with a simple:
FillArr(Arr: TByteArr)
and be sure that I will not get back a different array, but instead
get my array filled as requested...
As soon as you call SetLength, this will break havoc.
Hello FPC-Pascal,
Browsing recent changes in compiler I saw that xmlxsdparser has been
updated with some timezone functions conversion. This conversions
seems wrong to me as they are performed using "today" conditions not
given date/time conditions, so if today the computer is in daylight
saving m
On Sat, 5 Feb 2011, Bo Berglund wrote:
On Sat, 5 Feb 2011 09:24:44 +0100 (CET),
michael.vancann...@wisa.be wrote:
No. Someone misunderstands the concept of dynamic array here.
A "dynamic array" is a pointer to an array in memory.
So when passing a dynamic array to a function,
you are, in f
On 4 February 2011 21:26, Lukasz Sokol wrote:
> Lukasz Sokol writes:
>
> Looks like kernel printk works with fpc varargs :
> http://wiki.freepascal.org/linux/kernel/module_development#Enhancing_printk
Nice :)
Henry
___
fpc-pascal maillist - fpc-pasc
Hi Bo!
Am 03.02.2011 um 22:53 schrieb Bo Berglund:
> function TSSCommBuf.Read(var Data: TByteArr): boolean; // <== ???
> begin
> Result := Read(@Data, SizeOf(Data)) = SizeOf(Data);
> end;
When using dynamic arrays @Data will not be the address of the first array
element which is usually what y
On Sat, Feb 5, 2011 at 12:29, Marcos Douglas wrote:
> On Sat, Feb 5, 2011 at 7:46 AM, ik wrote:
> > I'm using webkit for it, in pure pascal and the Qt binding.
> > No need to translate this program, it's not very hard to do it.
> > However because that my program is running in commercial environ
On Sat, Feb 5, 2011 at 7:46 AM, ik wrote:
> I'm using webkit for it, in pure pascal and the Qt binding.
> No need to translate this program, it's not very hard to do it.
> However because that my program is running in commercial environment and
> created for specific client, I can not release it a
On Sat, Feb 5, 2011 at 7:13 AM, Michael Van Canneyt
wrote:
>
> With an editor, open pdf.h, and replace the CAPI macro with an empty string.
I thought that, but I'm not good on C so... what do this macro?
> Then, run
>
> h2pas libwkhtmltox-0.10.0_rc2\include\wkhtmltox\pdf.h -l wkhtmltox0.dll -o
>
I'm using webkit for it, in pure pascal and the Qt binding.
No need to translate this program, it's not very hard to do it.
However because that my program is running in commercial environment and
created for specific client, I can not release it as open source.
Ido
LINESIP - Opening the source fo
On Sat, 5 Feb 2011 09:24:44 +0100 (CET),
michael.vancann...@wisa.be wrote:
>
>No. Someone misunderstands the concept of dynamic array here.
>
>A "dynamic array" is a pointer to an array in memory.
>So when passing a dynamic array to a function,
>you are, in fact, passing a pointer.
>
>> So is the
On Fri, 4 Feb 2011, Marcos Douglas wrote:
Hi,
I'm trying to use h2pas in wkhtmltopdf's headers... but I'm found many erros.
Could you help me to translate the headers to use in Pascal?
Command: h2pas libwkhtmltox-0.10.0_rc2\include\wkhtmltox\pdf.h -l
wkhtmltox0.dll -o wkhtmltox0.pas -p
Enviro
On Sat, 5 Feb 2011, Bo Berglund wrote:
On Fri, 4 Feb 2011 19:10:33 +0100, Jonas Maebe
wrote:
On 04 Feb 2011, at 16:25, Bo Berglund wrote:
OK, what will happen if I have a declaration like this:
function TSSCommBuf.Read(var Data: TByteArr): boolean;
as opposed to
function TSSCommBuf.Read(
On Fri, 4 Feb 2011 19:10:33 +0100, Jonas Maebe
wrote:
>
>On 04 Feb 2011, at 16:25, Bo Berglund wrote:
>
>> OK, what will happen if I have a declaration like this:
>> function TSSCommBuf.Read(var Data: TByteArr): boolean;
>> as opposed to
>> function TSSCommBuf.Read(Data: TByteArr): boolean;
>>
15 matches
Mail list logo