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
2
votes
1 answer

TJclCompressArchive (project Jedi). How to select a compression format?

Using Delphi XE on Win7 x64, have Jedi Class Library ver. 3.45, and 7z.dll ver. 9.20, Uses .., jclcompression; procedure TForm1.Button1Click(Sender: TObject); const an = 'C:\1.7z'; fn = 'C:\1.txt'; var Arc: TJclCompressArchive; Ext:…
Gu.
  • 1,947
  • 4
  • 30
  • 49
2
votes
2 answers

Compress a file with JclCompression

I am trying to save (compress) a .zip file using JclCompression with the JCL Demo. When I press the Save button on the Read and Write Tab the demo calls: procedure TFormMain.ActionSaveExecute(Sender: TObject); begin (FArchive as…
Bill
  • 2,993
  • 5
  • 37
  • 71
2
votes
4 answers

JclLastExceptStackListToStrings produces an empty string list

I've installed JCL into Delphi 2010. In the following code try raise Exception.Create('Error Message'); except on E: Exception do begin ResultStatus := JclLastExceptStackListToStrings(sl, True, True, True, True); end; end; Also I have…
Max
  • 19,654
  • 13
  • 84
  • 122
2
votes
1 answer

Delphi : How to call the .Net 4.0 version of StrongNameSignatureVerificationEx

I am trying to call StrongNameSignatureVerificationEx on IClrStrongName from Delphi (using Rad Studio Berlin) My first attempt just used the definition function StrongNameSignatureVerificationEx( wszFilePath : LPCWSTR; fForceVerification :…
AlanT
  • 3,627
  • 20
  • 28
2
votes
1 answer

Returning complex types (Classes, Arrays of Classes) using JCL and CLR

I first referenced this question to get started, but reached a roadblock when trying to return a Class or Array of a Class using a .NET Assembly in Delphi XE. Consider the following: //C# [ComVisible(true)] public class Person { public int Id; …
Simon Hartcher
  • 3,400
  • 3
  • 30
  • 34
2
votes
2 answers

Are there localized resource strings available for the JCL (JEDI Code Library)?

Is there a translation/localization sub-project for the JEDI Code Library? I'm especially looking for German, French and Italian versions of JclResources.pas and JclVclResources.pas (and might be able to contribute to a German translation myself).…
Oliver Giesen
  • 9,129
  • 6
  • 46
  • 82
2
votes
1 answer

how to assign constant address to pointer at pascal?

I can't find how i can set constant address to pointer in Delphi (Pascal). I need it for search unit and linenumber in map file with jclDebug. For example: var P : pointer; info : TjclLocationInfo; begin P := $016199E3; info :=…
zebyja
  • 21
  • 2
2
votes
1 answer

JEDI Code Library line number for exception

I have a codegear C++ builder project and added the JCL library to get a stackdump when an exception occurs. I get the stackdump, but the most important thing is missing, the line number where the exception actually happened. I get the function…
Björn
2
votes
3 answers

F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove

I'm migrating a Delphi 2 project to RAD Studio XE2. When I try to compile I get [DCC Fatal Error] MyUnit.pas(9): F2051 Unit JclUnitVersioning was compiled with a different version of System.Contnrs.TObjectList.Remove at the following row: unit…
bluish
  • 26,356
  • 27
  • 122
  • 180
1
vote
1 answer

C++ Builder XE and JEDI JCL

Has anybody successfully compiled the JCL for C++ Builder XE? I have tried on XP and Win7 with no luck. I have filed a bug but this is a show stopper for me right now, so though I would ask here. I am using the latest release from sourceforge.
Gregor Brandt
  • 7,659
  • 38
  • 59
1
vote
2 answers

Why program crashes even when caught by a global exception hook?

Problem Summary: Some code in UartComm.OnGetIdRES() raises an ERangeError, which crashes my program. This bug isn't the problem, what matters is why my application-global exception hook catches the exception, but my program still crashes. I expect…
DBedrenko
  • 4,871
  • 4
  • 38
  • 73
1
vote
1 answer

jclRegistry (jesi 2.10) windows 7 delphi7

I am trying to to read registry key on Windows 7 using app compiled by Delphi 7 using jclRegistry from Jedi 2.10. I've double checked registry using regedit and specified entry exists. Unfortunately: RegReadStringDef(HKEY_LOCAL_MACHINE,…
tskom
  • 11
  • 1
1
vote
1 answer

Delphi XE2 error building a package

I have a package where a unit uses JCL. When I try build the package it states E2225 Never-build package 'Jcl' must be recompiled So I load the package Jcl.dproj / Jcl160.bpl file into Delphi and build it. No errors here. But I still get the same…
Tom
  • 3,587
  • 9
  • 69
  • 124
1
vote
1 answer

Something about JvPatchFile component?

I looked everywhere, but couldn't find anything related to this component, please could you give me some advice on how to use it? Thank you.
Giacomo King Patermo
  • 829
  • 3
  • 13
  • 25
1
vote
0 answers

JCL requires source in Delphi library path

I've installed the JCL into Rad-Studo XE2 and chose the option to modify the library paths as appropriate. This added z:\3rd party\Jedi 3.45\jcl\lib\d16\win32, and z:\3rd party\Jedi 3.45\jcl\source\include to the library path in my environment. The…
marcp
  • 1,179
  • 2
  • 15
  • 36