From Free Pascal wiki
Revision as of 06:10, 9 October 2006 by Blue1 (talk | contribs) (Additional Notes)



Kaldemonia is a program where user can enter a search string that is used to search Google and return the results to three files: A Cache file, A Results file, and one large Htm file containing the full result from Google. This Program was done as practice for me in coding.

Kaldemonia compiles on Linux and can be Cross-Compiled to Win32 system from Linux with minor modification. Kaldemonia shows using a worker thread and Gui thread so GUI remains responsive while still functioning.

I used several examples to make it and asked many questions. So I hope you like it.


1. TidyPas can be downloaded here: TidyPas

     N.B. TidyPas requires TidyLib to be installed and on win32 LibTidy.dll.

2. Synapse can be found here: Ararat Synapse

     I used Synapse version 37b6. I don't see that version anymore so I include it.


  • Kaldemonia was compiled with FPC 2.0.2 and Lazarus 0.9.16
  • TidyPas release date 2005-12-25
  • Synapse version 37b6

Additional Notes

Kaldemonia compiles on both Linux and Windows without errors. However, it runs well on Linux, but not on Windows. The reason is not clear, but debugging it shows Synchronize(@ShowStatus) to be where the problem occurs.

Added October, 9th 2006:

 Although Lazarus executable for Win32 freezes, same source (with very minor modification) compiles with delphi
 and runs fine on Win32 environment.

Added October 9th, 2006:

 For People that want to use FPC 2.0.4 and noticed that TidyPas doesn't yet compile well with the new version,
 stay tuned for another version of Kaldemonia that uses a different parser. With the new kaldemonia (kaldemonia2) you
 will be able to use latest released versions of Synapse and Lazarus/FPC.






You can download the source from Lazarus CCR.