- Original Message -
From: "Rainer Hantsch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 26, 2003 9:06 AM
Subject: Re: [fpc-pascal]How to use Linux libraries?
> The better solution will definitely be to convert data inside my
application,
> because it loads once and t
Sorry guys,
I just found out that it doesn't work when using the -ghl compiler option.
If I don't use the heap trace unit it does work!
Ciao
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I'm having problems using a dll created under Win2k and FPC 1.0.6.
library myplugin;
uses Windows;
function Hello( s :pchar ) :boolean;
begin WriteLN('hello ',s); end;
exports Hello name 'Hello';
end.
This compiles and creates the dll just fine but when I try to load it at
runtime I get a
Sorry Michael,
I just found out that this happens in the 1.0.6 release version of FPC.
It's fixed with a current snapshot.
Sorry again,
Ivan
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
- Original Message -
From: "Anton Tichawa" <[EMAIL PROTECTED]>
> So there are two errors:
>
> 1. I decremented below j, but the programmer had in mind that i was above
j.
> the while-statement should read 'while (I > J) ..'
>
> 2. The Copy returns the full string for length 0 -
>
> Note: I
- Original Message -
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 1:59 PM
Subject: Re: [fpc-pascal]CompareStr
What version are you using ? I have fixed a bug report about this some
time ago:
Revision 1.1.2.14 2002/11/28 20:1
Hi,
I think I've found a bug on the FileExists function (sysutils) under Go32v2,
when I want to check if a directory exists.
FileExists( 'c:\winnt' ) will return False when compiled for Go32 but true
for Win32.
I guess that the Win32 version is doing rigth, since a directory is part of
the file s
[OT: Sorry if this was posted before but I'm having some weird problems with
email]
According to the docs
http://www.freepascal.org/docs-html/units/node23.html#SECTION0023660
00
"ExtractFileDir returns only the directory part of FileName, not including a
driveletter."
But it does ret
sorry list
just a test
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
Maybe it's how it's supposed to be but if use :
compareStr( 'hello', 'hello-bye' )
I get 0, so they are equal.
If one string is bigger than the other they should be different, isn't it?
Otherways what can I use to check if two ansistrings are different?
TIA, Ivan
According to the docs
http://www.freepascal.org/docs-html/units/node23.html#SECTION0023660
00
"ExtractFileDir returns only the directory part of FileName, not including
a
driveletter."
But it does return the driveletter, so either the docs are mistaken or the
RTL.
If the docs ar
According to the docs
http://www.freepascal.org/docs-html/units/node23.html#SECTION0023660
00
"ExtractFileDir returns only the directory part of FileName, not including a
driveletter."
But it does return the driveletter, so either the docs are mistaken or the
RTL.
If the docs are rig
Hi,
I think I've found a bug on the FileExists function (sysutils) under Go32v2,
when I want to check if a directory exists.
FileExists( 'c:\winnt' ) will return False when compiled for Go32 but true
for Win32.
I guess that the Win32 version is doing rigth, since a directory is part of
the file s
Hi,
I was wondering if I could do something like this with a macro in FPC:
const HASH_TABLE_MASK = $ff;
function GetHashIndex ( hash :dword) :integer;
begin
result := hash AND HASH_TABLE_MASK;
end;
it's kind of a helper funcion so I don't want to perform the function call
in the
code.
Would t
Hi,
Do you know of any tools I can use to check for memory leaks on my code?
I'm using FPC 1.1 snapshots under Win2k.
cheers, Ivan
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
15 matches
Mail list logo