Questions tagged [jedi-code-library]

The JEDI Code Library (JCL) is a set of utility functions and non-visual classes for re-use in Delphi and C++ Builder projects.

The JEDI Code Library (JCL) is a set of utility functions and non-visual classes for re-use in Delphi and C++ Builder projects.

See JEDI Code Library on SourceForge.

42 questions
16
votes
5 answers

Need a way to periodically log the call stack/stack trace for EVERY method/procedure/function called

I'm working on a very large application where periodically I'd like to log the ENTIRE call stack up until the current execution point (not on an exception). The idea here is that I want a map of the exact code path that led me to the point that I…
11
votes
1 answer

JEDI JCL Compression library wont open spanned archive files

Summary: I am having trouble to get the JCL compression library to open any spanned archives. It presents the error "(0000001) Incorrect Function" as defined in borlands 'windows.pas'; scenerios: A single archive compressed using the JCL compression…
8
votes
1 answer

Can Delphi JCL 7zCompression used to compress/decompress in-memory stream without file operations?

I had used TJcl7zCompressArchive / TJcl7zDecompressArchive to do Archive operation before. Now I would like to compress / decompress in-memory streams directly without file operation. However, when seeing the examples from JCL demos searching in…
Justmade
  • 1,496
  • 11
  • 16
8
votes
1 answer

Why use JCL UNITVERSIONING?

The JCL library have an conditional define UNITVERSIONING. I don't know why this option exists and don't know how to use this. I know that there are a unit called JclUnitVersioning.pas, but can't find a use. Where to use this in a real word project?
7
votes
2 answers

Error in JCL installation into Delphi 10 Seattle

I am trying to install JCL/JVCL into Delphi-10-Seattle I got the following Error: Using Embarcadero RAD Studio 10 Seattle Embarcadero Delphi for Win32 compiler version 30.0... E:\Delphi-10\Jedi\jcl\source\common\JclSysUtils.pas(3034) Error:…
ChuckO
  • 2,543
  • 6
  • 34
  • 41
6
votes
1 answer

Error on installing JVCL

I have installing JCL via Install.bat and its successfully installed. However, when I try to install JVCL via install.bat, I got an error message like this: [Compiling installer...] Using Embarcadero RAD Studio XE Embarcadero Delphi for Win32…
Jessie M
  • 498
  • 1
  • 9
  • 23
5
votes
1 answer

How can I log the callstack with JCL without using raise exception

Background We have a problem that sometimes the grid in Devexpress raise exception "Raised EConvertError: Cannot assign a nil to a TFont". But to trace the real cause of this we have changed Font in cxEdit to be a public property instead with a get…
Roland Bengtsson
  • 5,058
  • 9
  • 58
  • 99
5
votes
1 answer

Is there a recommended route to installing JEDI and JVCL for Delphi XE5?

I see that JCL and JVCL are now in GitHub and I have previously installed them both under XE3 using the built-in installer. I've also used the XE4 'special' posted on the Embarcadero page. Has anyone managed to get JCL and JVCL working with XE5 yet…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
5
votes
2 answers

jcvl not working due to jcl requirements

I am trying to manually install JCL and jvcl for delphi xe2. I have installed JCL as directed and it seems to have installed with no issues. Now I try to load the JVCL package 16 , it opens delphi and starts to load libarys, When it gets to the…
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
4
votes
1 answer

delphi - watching for files changes in directories - implemented in JCL?

I need to notify my application in some way whenever any file in the given directory has been changed (its content has been modified) ... is there any JCL/JVCL routine for that? Thanks in advance ...
migajek
  • 8,524
  • 15
  • 77
  • 116
3
votes
1 answer

No Stack Trace using JCL in Delphi XE

We have a project which we converted from Delphi 2007 to Delphi XE. In the 2007 version we used the JCL's debugging features to have a stack trace when an Exception appears. In fact we used the JCL's standard ExceptionDlg wizard, which relies on the…
John Thomas
  • 4,075
  • 3
  • 29
  • 41
3
votes
2 answers

need help with interesting call to JCL's TEvaluator

i'm using JCL's expression evaluator TEvaluator (a marvelous creation donated by barry kelly). (THANK YOU barry!) background i've used the AddFunc method. function MyFunc:double; begin // calculations here Result:=1; end; you can use the…
X-Ray
  • 2,816
  • 1
  • 37
  • 66
3
votes
3 answers

Access JCL Debug information contained in executable?

Is there a way to access the Jedi Debug Information (JDBG) contained in an executable? Microsoft debugging tools have pointed me to a stack chain in my binary, and i want to know what methods/procedures/functions these offsets correspond…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
2 answers

How to use JEDI TJCLHashMap classes?

I'm trying to use TJCLHashMap family of classes, but apparently this class has no useful public methods. All methods are "protected". How to use this class? Although JCL comes with some samples, I seem to miss something. A basic example would be…
delphist
  • 285
  • 5
  • 8
3
votes
1 answer

Remove a file from a ZIP archive using JclCompression in Delphi XE2

I've got this situation where I need to remove a specific file from a ZIP archive. Within the application all handling of ZIP files is done using JclCompression. I was wondering if any of you know how to remove a specific file from a ZIP archive…
RFerwerda
  • 1,267
  • 2
  • 10
  • 24
1
2 3