On Thu, 5 Aug 2004, David G Jenkins wrote:
> I've found a Delphi compatible DLL to handle SMTP protocol and I think I
> can figure how to use this with fpc but are there any written for free
> pascal?
You can try to use synapse. It compiles in FPC and Delphi:
http://www.ararat.cz/synapse/
Mi
Ok, then this can be this way:
procedure increment(var x: dword); assembler;
asm
mov eax, x
inc [eax]
end;
Is this correct? If the compiler uses registers, the first line is
translated to a 'mov eax, eax', otherwise it is something like 'mov eax,
[esp-4]'.
Regards,
Nelson
The asm block c
> I've found a Delphi compatible DLL to handle SMTP protocol and I think I
> can figure how to use this with fpc but are there any written for free
> pascal?
I don't get the exact question? Is the DLL in Delphi, does a Delphi
interface to the DLL exist, or do you search something similar as the
> The asm block can be this way:
>
> procedure increment(var x: dword); assembler;
> asm
>inc [eax]
> end;
>
> You don't need to worry about segment registers, but don't mess with them!
> I assume that the parameter x is passed on the eax register as Delphi does.
> Please correct me if I'm wr
I've found a Delphi compatible DLL to handle SMTP protocol and I think I
can figure how to use this with fpc but are there any written for free
pascal?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pasca
On Wed, 4 Aug 2004 23:28:09 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
> > I tried running the 32bit fpc on my opteron suse 9.1 64bit, which
> > should be possible, but I get linking problems:
> Use
> fpc -FD/path/to/32bitbinutils
It turns out that the suse linker does both 3
The asm block can be this way:
procedure increment(var x: dword); assembler;
asm
inc [eax]
end;
You don't need to worry about segment registers, but don't mess with them!
I assume that the parameter x is passed on the eax register as Delphi does.
Please correct me if I'm wrong...
Hi,
I have a pro
Hi,
I have a problem when trying to pass some variable parameters to a
procedure writen using integrated assembler. I have reduced the
problem to the following code:
program IncrementDemo;
{$R+}
{$asmmode intel}
var
a: dword;
procedure increment(var x: dword); assembler;
asm
push ds