From Free Pascal wiki
Revision as of 21:40, 10 October 2006 by Blue1 (talk | contribs)



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.

Requirements for Kaldemonia

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.

Requirements for Kaldemonia2

1. Synapse can be found here: Ararat Synapse

   Latest release should be fine.

2. THTMLPars can be downloaded here: HTMLPars

   I included it, with very minor modification to work on Linux.

Notes on Kaldemonia

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

Notes on Kaldemonia2

  • Kaldemonia2 was compiled with FPC 2.0.4 and Lazarus 0.9.16 & 0.9.18
  • Synapse release number 37
  • THTMLParser v1.17

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.






You can download Kaldemonia source from Lazarus CCR.

You can download Kaldemonia2 source from Lazarus CCR.