Visit site Leonardo's blog
April 2009
8
votes
Apache 2.2.x modules with Delphi
Leonardo's blog
– If you want to create Apache modules with Delphi, you can start reading DrBob's Delphi 2006 and Apache Web Apps and this articles, they explain step by step how to create Apache modules with Dephi.Apache 2.2.xDrBob articles covers up to Apache 2.0.63, but the current version of the http server is ...
4
votes
Paginating TListView - Part 3 of 3
Leonardo's blog
– To finish this series of paginating TListViews, I'll show a simple method of automatic assignment of data from a database query to properties of an object.Introducing RTTIDelphi and FreePascal provides the ability to get and set the values of object's properties at run-time, this is called Run Time ...
1
vote
Binding TCollections to paginating ListViews
Leonardo's blog
– In my previous article, I wrote about a method to paginate data shown in a ListView. Now, I want to extend its reach by replacing TDataSets by TCollections.What is a TCollection?A TCollection is a container, where objects of only one type can be stored in it. The difference with other containers ...
4
votes
ListView and Pagination
Leonardo's blog
– This is one of those things I needed for ages, but didn't bothered to implementbecause I thought it could require an unnecessary amount of work, and allwaysopted for a less perfectionist method.I'm talking about a method to retrieve data in Pages, then browse it in a ListViewtransparently for the ...
March 2009
0
votes
Transferring objects over the network (Part II)
Leonardo's blog
– Here is the sample code and executables for Transferring Objects Over the Network.Click here to download.
0
votes
Transferring objects over the network (Part I)
Leonardo's blog
– IntroductionA couple of weeks ago, I was talking with a friend about a software he uses to book bus trips, he told me his company needs something similar, also he thinks I could adapt one of my applications to work like this program. The software is installed on more than one hundred sites, and it's ...
January 2009
0
votes
Auto Update application
Leonardo's blog
– A very common problem for desktop application programmers is the method of upgrading/installing new versions of our applications, when you have, say 10 customers with 5 PC's running your apps and you add a new feature, you have to upgrade 50 computers!, a real pain.Last week, I was thinking of a ...
December 2008
0
votes
Launch application as a service
Leonardo's blog
– Sometimes you need an application to start before the user logs in to Windows, just as Services do. If you have the source code, this is not a problem, but what if you don't have access to it?. With this small Delphi program you can launch a list of applications as windows services very easily. ...
October 2008
0
votes
Delphi plugin by example
Leonardo's blog
– One of the top asked questions in Delphi newsgroups is how to place a form contained in a Dll into our application forms. This method allows to create pluggable applications, easier to maintain and customize.To accomplish our task, first of all we'll create a Dll using File -> New -> Other -> Dll ...
June 2008
0
votes
FileSharer on GoogleCode
Leonardo's blog
– After receiving a long list of emails from FileSharer users asking for the source code, I decided to Open Source a Lite version of it.If you want to add/improve something, please contact me by mail.The code is here (currently only SVN access): http://filesharer.googlecode.com
0
votes
Ajax from ObjectPascal!
Leonardo's blog
– If you dreamed of creating Ajax/Web 2.0 applications using your favorite ObjectPascal compiler, and thought it's a difficult task because of JavaScript/CSS/DOM, and the lack of wrappers similar to those found in another languages. Now your dream come true thanks to ExtPascal, an Object Pascal ...
April 2008
0
votes
New version of FileSharer!
Leonardo's blog
– Hi, I improved FileSharer by adding two new exciting features: Connections tab to be informed on who's connected/uploading/downloading.Simple authentication plugin. To add security to your published files/folders.What are you waiting for? download it now!A couple of screenshots:
March 2008
0
votes
Vonage calling from ObjectPascal
Leonardo's blog
– Last week, a customer asked if he could call using his Vonage phone to call from an application I developed some time ago. After searching for a way to do this, I stumbled upon this tutorial, then adapted the examples to ObjectPascal. The resultsThe first problem I found was how to connect to an ...
December 2007
0
votes
Powerful CGI applications
Leonardo's blog
– In the article Myths About CGI Scalability published some time ago by Lars from z505, one of the authors of Powerful Web Utilities, he exposes a problem every CGI programmer faces with database applications. As you can see in that document, every time a CGI is called by a web browser, the operating ...
November 2007
0
votes
Using Sqlite3 with Fcl-Db
Leonardo's blog
– In this tutorial, I'll try to explain how to access Sqlite3 databases usingFreePascal and Fcl-Db. Fcl-Db is the standard way of accessing databases using FreePascal, but you can find some other methods to connect to them, such as LibSql and Zeos.The first step is to install Sqlite versión 3.x.x, ...




