Bram Kuijvenhoven ha scritto:
Alvise Nicoletti wrote:
The error I'm having it's surely a library name problem:
Identifier not found "TMySQL40Connection" (I'm using 40 not 50).
I tryed with the code that Bram sent me on the mail next to this
one... and I got the same error.
Do you get this error from the compiler (CTRL+F9) or from Lazarus
(when pressing e.g. CTRL+SPACE)? The Lazarus codetools don't
understand the macros used in the MySQL40/41/50Conn units, so
unfortunately you won't get identifier completion for them.
Note: you can look at the MySQLXXConn source by moving your cursor to
the MySQLXXConn in the uses clause and pressing CTRL+Up; you will see
the unit includes a file called mysqlconn.inc; use CTRL+Up again to
move to this file in turn.
The error is a compiling error... function are not found... the lazarus
versions are the same...
BTW Maybe you are using different versions of Lazarus and/or
FreePascal on you Windows and Linux machine?
I searched for the daemon.pp example but I did not found it into the
fpc/packages/fcl-base/tests/ directory.
It is in trunk on SVN. (Details about getting the files from SVN are
on the FPC website; you can also lookup the file at
http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/packages/fcl-base/tests/daemon.pp?rev=6655&view=markup.)
I'm still trying to understand (and I would really appreciate some
tip from you about that) if the thing I have to do is possible,
before getting involved into it... I explained in another mail that I
have to create:
1) a linux service
2) that opens a socket and takes some telnet commands
3) that reads some data from a local mysql database
I see no problems with those requirements. If you need a socket
implementation, take a look at the lNet components. Hint: if you need
specific information, you can try searching the wiki on the
FreePascal/Lazarus website.
Ok. I already used lnet so, is there someone can help me to make my
windows last-version lazarus cross-compile on a linux-i386 target with
lnet components installed?
So it would be easyer for me to debug and faster to compile. Actually
the linux machine I'm using it's a vmware virtual machine so It's slow
for production use.
Regards,
Bram
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives