jedi

Looking for an event scheduler for Delphi?

自闭症网瘾萝莉.ら 提交于 2019-12-05 10:29:09
I was recently looking at TJvScheduledEvents that comes with the JVCL library because I have a need for a dynamic scheduler in a Delphi application. Initially this looked to fit the bill, but I have run into some concerns. Limited documentation other than the code itself The event scheduler form that lets you create events appears to be a design time form with no runtime interface. Issues with storing dynamically created scheduled events to a file or database so that they are not lost when the application restarts. Does anyone have any experience with this object or another scheduling

Emacs & Anaconda. Linking problems

孤者浪人 提交于 2019-12-04 11:42:27
I have a problem where: In order to run Anaconda , I need to unset LD_LIBRARY_PATH In order to run Emacs (as well as other programs), I need to set LD_LIBRARY_PATH If I try to run Emacs while unsetting LD_LIBRARY_PATH I run into linking problems, e.g. symbol lookup error: /usr/lib64/libpangocairo-1.0.so.0: undefined symbol: cairo_ft_font_options_substitute And I run into the same problem if I try to load gedit or other programs. Given this, I am currently unable to use Anaconda and Emacs in the same environment. This prevents me from using Emacs packages such as emacs-jedi (a great package for

JvMail (JEDI) component not sending mail

喜你入骨 提交于 2019-12-02 08:22:06
JvMail component is not functioning right or I am messing something up. procedure TForm1.RzURLLabel1Click(Sender: TObject); begin if cxLookUpComboBox1.Text ='' then abort else with JvMail1.SimpleMAPI do begin JvMail1.Clear; JvMail1.Recipient.AddRecipient('smtp:mymail@gmail.com'); JvMail1.Subject := 'Password lost '; JvMail1.Body.Text := 'Request password :' +#13#10+ cxLookUpComboBox1.Text +#13#10+ AdvOfficeStatusBar1.Panels[4].Text ; JvMail1.SendMail; end end; My mail does not get sent unless I put the prefix 'smtp:' infront of the mail adress. Any ideas on how to fix this ? Sir Rufo The

How to serialize Delphi TObjectList<TMyClass> type to XML with TJvAppXMLFileStorage?

假如想象 提交于 2019-12-01 03:45:38
问题 Previously, to save the settings of some applications, I used: A TSettings = class(TPersistent) for the container Each data to serialize in a published property List of object were TCollection and TCollectionItem types The TJvAppXMLFileStorage component to save everything with the single line : JvAppXMLFileStorage.WritePersistent(...); BUT now, I'm using TObjectList as properties in the TSettings class. So I drop the TCollection/TCollectionItem in favor of Generics ... When serializing it,

How to redirect binary gbak output to a Delphi stream?

给你一囗甜甜゛ 提交于 2019-11-28 07:52:25
I want the Firebird backup tool gbak to write its output to a Delphi stream (with no intermediate file). There is a command line parameter to write to stdout rather than a file. I then use the Execute method in JEDI's JclSysUtils to launch gbak and process that output. It looks like this: procedure DoBackup; var LBackupAbortFlag: Boolean; LBackupStream: TStringStream; begin LBackupAbortFlag := False; LBackupStream := TStringStream.Create; try Execute('"C:\path to\gbak.exe" -b -t -v -user SYSDBA -pas "pw" <db> stdout', LBackupStream.WriteString, // Should process stdout (backup) SomeMemo.Lines