Hi,
Below is my current Makefile.fpc. I can generate the Makefile and do
a make and make install ..., but a few things are not working
100%.
Could anybody spare some time to help me sort out these minor issues.
Issue #1
make; make install INSTALL_PREFIX=/opt/fpc
make: Circular units -
Here is 2 examples of how the fpc compiler dos when comparing a
string constant with a pchar . The first is compiled with the 204
compiler and second one is compiled with the 202 compiler.
I am using the compiler on an embedded Arm 7 platform and Ansi
strings is not an option.
I want to force the
I'm reading a file generated by another application, but it very often
trigger '[Error](1,1): Unexpected end of file'. I just can't put my
finger on the problem. I'm using Reset() and Readln().
It looks like it is not impacted by the read/write time to OS. I can't explain.
My algo for reading
Hi,
Sorry this is a long message, but hard to explain. I have a DLL I wrote in
FreePascal 2.0.2, which is communicating between a Delphi program and a
PowerBasic Dll, like follows...
PBdll exports PBSub ByRef as AsciiZMyFreePascall_DLL
DelphiDLLstubByRef_Variants
As noted, the
Let me remove some comments(sorry)
Hi,
Sorry this is a long message, but hard to explain. I have a DLL I wrote
in FreePascal 2.0.2, which is communicating between a Delphi program and a
PowerBasic Dll, like follows...
PBdll exports PBSub ByRef as AsciiZMyFreePascall_DLL
As noted, the Delphi Program integrates a DLL stub which forces me to
make calls using it's pre-defined Variants Only format.
I'm not clear why you need to have a FPC DLL between a PB DLL and Delphi...
this part makes no sense.
If you need to, dynamically load the DLL. If you are exporting
There was no problems with ReadLn... after 2 hours of debugging I put
my finger on the problem; somewhere else in the software.
Sorry for that.
Regards.
--
Alexandre Leclerc
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
- Original Message -
From: Matt Emson [EMAIL PROTECTED]
To: afpTeam [EMAIL PROTECTED]; FPC-Pascal users discussions
fpc-pascal@lists.freepascal.org
Sent: Thursday, August 31, 2006 2:57 PM
Subject: Re: [fpc-pascal] AsciiZ confusion
As noted, the Delphi Program integrates a DLL stub