Jeff Pohlmeyer wrote:
>> > function to read the local IP eth0/eth1 using glibc library.
>
> This one is a little cleaner...
>
> program ip_addr;
> {$MODE OBJFPC}
>
> uses libc;
It doesn't seem like you're using libc specific functions ? You can also
write a fpc 'native' one using fpsocket and f
Errm, I actually forgot the obvious questions:
What's wrong here? How can I get around it?
cat input.h | awk '{gsub(/\<__int64\>/," long long "); print}' > output.h
- should work, at least on Linux x86
- Jeff
___
fpc-pascal maillist - fpc-pasca
> function to read the local IP eth0/eth1 using glibc library.
program ip_addr;
...
end.
Please ignore my last post -
This one is a little cleaner...
program ip_addr;
{$MODE OBJFPC}
uses libc;
function GetIPAddressOfInterface( if_name:ansistring):ansistring;
var
ifr : ifreq;
sock : lo
I'm trying to write a function to read the local IP eth0/eth1
using glibc library...
program ip_addr;
{$MODE OBJFPC}
uses libc;
const
IP_NAMESIZE = 16;
type
ipstr = array[0..IP_NAMESIZE-1] of char;
function GetIPAddressOfInterface( if_name:ansistring):ansistring;
var
ifr : ifreq;
tmp:ips
Am Donnerstag, den 05.10.2006, 23:15 +0200 schrieb Marc Santhoff:
> Hi,
>
> h2pas does crash on the following lines:
>
>
> typedef unsigned __int64 hsize_t;
> typedef signed __int64hssize_t;
>
>
> Command line and error message:
>
> h2pas -d -l "hdf5" -p -o hdf5.cpped.nos
Hi,
h2pas does crash on the following lines:
typedef unsigned __int64hsize_t;
typedef signed __int64 hssize_t;
Command line and error message:
h2pas -d -l "hdf5" -p -o hdf5.cpped.nostdinc.pas hdf5.h.nostdinc
at line 317 error : syntax error
Runtime error 216 at $080631DE
$0
> On 5 okt 2006, at 19:56, Marco van de Voort wrote:
>
> > But we can cut this discussion short. I'd _LOVE_ to see FPC run on
> > bytecode.
> > If you find such a compiler, compile the compiler with it ( :-) )
>
> Since FPC is written in the FPC dialect, probably the only thing that
> will ev
On 5 okt 2006, at 19:56, Marco van de Voort wrote:
But we can cut this discussion short. I'd _LOVE_ to see FPC run on
bytecode.
If you find such a compiler, compile the compiler with it ( :-) )
Since FPC is written in the FPC dialect, probably the only thing that
will ever compile it is F
> For future reference, someone sent me a link of a commercial pascal
> compiler that generates java bytecode:
>
> http://www.mhccorp.com/pascal.html
>
> It claims to be compatible with Delphi 2 (not sure if it supports VCL)
> and targets J2SE.
Canterbury yes, pretty wellknown. Quite OK, but now
Hi
I'm trying to write a function to read the local IP eth0/eth1... using
glibc library...
I found only examples that found the 127.0.0.1 IP but not the real IP :
http://community.freepascal.org:1/bboards/message?message_id=233776&forum_id=24083
http://lists.freepascal.org/lists/fpc-pasca
Hello,
I'm using Sqldb to access a PostgreSQL database. Is it possible to find out
what sql commands is sqldb generating and trying to execute ?
I have a Lazarus form that contains a DBgrid which is associated to a table.
After updating a row and executing query.ApplyUpdates , the program gen
Hello,
I'm trying to run one of the sqldb examples against a firebird
database (by accessing
the database file directly, with no server). What should I write in
database.ini so that
the programs can connect ?
type=interbase
name=/tmp/db_faf.fdb
user=
password=
hostname=
It says "unable to comp
On Thu, 5 Oct 2006, Rainer Stratmann wrote:
> What do I have (exactly) to do to report a bug.
> Which Button do I have to press at the website?
> The Webseite is not Working with Konqueror, but with Mozilla.
Strange, because I use Konqueror to access the website.
On the main website, press 'Bu
What do I have (exactly) to do to report a bug.
Which Button do I have to press at the website?
The Webseite is not Working with Konqueror, but with Mozilla.
Rainer
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/ma
14 matches
Mail list logo