Well, those are all quite a few questions. I would agree that some explaination code and a nice complete manual/website would be very handy. Then we wouldn't have to struggle so much.
I have a few tips for you though. To find a procedure in your units, there are two possibilities. 1. You can do some searching on the web. The units for procedures are almost always the same in Lazarus/FPC as they are in Delphi. A google query on "Delphi sleep" gives us the information quite fast: the sleep procedure is in the sysutils unit. (After a short while you will get more aquainted with most of these little problems, don't worry. It was a matter of a few weeks in my situation) 2. You can find out for yourself, by creating an empty unit, including all available stuff in the uses clause (hint: use CTRL-SPACE for a list!), then calling a function in the implementation of the same unit and after all CTRL-Click the function call. That will open the unit that this function is registered in. In my opinion SQLDb for MySQL works, but is a pain in the ass. I would strongly recommend to install the ZEOS components (last nightly build!) and use those. They are completely free, and I was in love already when I used them for 5 minutes. :) Creating of a component at runtime can be done with something like this: var test: TMyComponent begin test := TMyComponent.Create(Self); test.foo := 'bar'; test.execute; // Don't forget to free your component after you are done! test.free; end; So my primary advice: If you can't find your way restricting your searches to lazarus-specefic things, try to look at the Delphi-equivalents. (SQLdb behaves sometimes like Borland DBExpress, but is slightly different. The DBExpress helpfiles may be your friend though!) Good luck! -Pelle ten Cate 2007/5/14, Alvise Nicoletti <[EMAIL PROTECTED]>:
It seems that with doing the process again and doing a reboot I finally installed Lazarus on ubuntu. It seems to compile well. Now I', trying to do a service for linux, but i miss a lot of functions like "sleep" and other, and I don't know wich units to include. I still don't find the lazarus doc link on the website, wasn't somewere a webpage with al components and units with a little function explanation? I fell like i'm blind here... My objective is to do a service that, giving him some telnet commands, do some queries on the local mysql database. How do I use the SQLdb component without graphical interface? I just have to do the same commands without putting the graphical component on the project? > Hi... I downloaded the ".deb" tar file with ubuntu, opened the archive > and installed with a "dpkg -i" all the .deb files inside it. > However, no shortcuts were created and I don't find any lazarus ide > binary... > I'm using gnome. > > Is there something else I have to do? > > I see that the win32 cross libs were installet in > /usr/lib/fpcsomething so I suppose I'll be able to crosscompile for > win32. > What if I, from win32, want to crosscompile for linux? > I don't find any installer for that on windows... I see in the /cross/ > dir only a arm-linux crosscompiler installer. > > > Thanks, > Alvise > > _________________________________________________________________ > 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
-- Aut viam inveniam aut faciam Whatever you might be questioning yourself.... Google has the answer!
