Hi,
I still have no success in linking against a dll on windows.
The dll import source looks like this:
...
{$linklib 'hdf5'}
...
function H5open:herr_t;{$ifdef BSD}cdecl{$endif}{$ifdef
Win32}stdcall{$endif};external;
function H5close:herr_t;{$ifdef BSD}cdecl{$endif}{$ifdef
Win32}stdcall{$endi
Tomas Hajny a écrit :
On Fri, June 6, 2008 17:19, mm wrote:
I thought to use hexadecimal code to replace the mnemonic "dq" itself
but 1) I don't know its code and 2) I am not even sure it would work.
There's no hexadecimal code for 'dq' (or any other d?) - this directive
simply tells the assem
Tomas Hajny a écrit :
On Fri, June 6, 2008 17:19, mm wrote:
I thought to use hexadecimal code to replace the mnemonic "dq" itself
but 1) I don't know its code and 2) I am not even sure it would work.
There's no hexadecimal code for 'dq' (or any other d?) - this directive
simply tells the assem
I would like to create a shot overview of the code quality of
FPC. Please help to complete the list:
Under i386 code size and speed is similar to Delphi and gcc (except
for some synthetic benchmarks).
Under x86_64 pentium code size and speed is similar to gcc (exc...).
Under x86_64 amd code size
On Fri, June 6, 2008 17:19, mm wrote:
> Tomas Hajny a écrit :
>> On Thu, June 5, 2008 15:29, mm wrote:
>>> Jonas Maebe a écrit :
> How can one declare a constant of type qword with the INTEL
> assembler?
> I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation
> with
Tomas Hajny a écrit :
On Thu, June 5, 2008 15:29, mm wrote:
Jonas Maebe a écrit :
How can one declare a constant of type qword with the INTEL assembler?
I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation with
the message "Error: Unrecognized opcode DQ".
As far as I can see, that
Dear
I'm trying to find examples using libmilter (sendmail milter) with
freepascal.
Does anybody have usefull links or code with it ?
best regards
--
David Touzeau -- Linux Ubuntu 7.04 feisty
FreePascal-Lazarus,perl,delphi,php artica for postfix management console
(ht
Search for scandatetime in
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/dateutil.inc?view=markup
Have a look at the documentation for formatdatetime and the comments in the
source to get an idea how to use it.
ScanDateTime('?MM?dd?hh?nn?ss',str); // seems to work fin
On Thu, June 5, 2008 15:29, mm wrote:
> Jonas Maebe a écrit :
>>> How can one declare a constant of type qword with the INTEL assembler?
>>> I am using FPC 2.2.0 and the mnemonic "dq" stops the compilation with
>>> the message "Error: Unrecognized opcode DQ".
>>
>> As far as I can see, that's not
I would say the easiest would be to extract the different parts: Year,
Month, Day, Hour, Min, Sec and then use EncodeDateTime() to return a
TDateTime type.
I have implemented (with unit tests) the last format (ISO 8601) in the
tiOPF project. I use that for storing my dates in a database. See the
t
> I have a little project in which I need to convert various string
> encoded in various date format to TDateTime.
> For the same date, I'll have:
In the upcoming 2.2.2, there will be a scandatetime routine in datetuils.
One could copy this code also to 2.2.0 projects though.
Search for scandate
Hello,
I have a little project in which I need to convert various string
encoded in various date format to TDateTime.
For the same date, I'll have:
'2008-05-10 21:49:21'
'2008:05:10 21:49:21'
'2008-05-10T19:49:21Z'
I am no expert with date manipulation so I am asking:
For the first type of st
12 matches
Mail list logo