Extract contents from p7m file with TurboPower LickBox - lockbox-3

I need to extract content from p7m files with Delphi 2010.
I wil try by TP Lockbox but I not find any instructions to how to do.

Related

How can I add metadata to a PDF with Delphi - im my case the DOI?

How can I add the document object identifier (DOI) to a PDF File with Delphi XE6? Is there a tool (also commercial one) available?
Thanks
Walter
I found a solution: 3rd party tool
this tool can write/read metadata from a pdf.
the doi stands in the Subject field.
Works great with Delphi XE6!

Difference between delphi pe file format and win32 pe file

As per my knowledge delphi files having same structure as win32 pe files. And the only difference in resource section i.e RCDATA resource section contains resource with name DVCLAL
My questions are:
Is there any difference in headers of win32 pe and delphi pe.
If there is no difference is no difference in structure then how to differentiate.
If there is difference then what it is?
What changes can be done by malware writers in delphi files.Any example.
What are the file formats of delphi file and win32 pe file.
There is no such thing as a Delphi PE file. Delphi compiled executables, on Windows, use the common platform format, which is PE.

Delphi4 XE / iOS / read XML file /

Am I correct in that Delphi 4 XE Pro does not supply any native way of reading XML documents? (TXMLDocument is Windows only) I have pondered about using TClientDataSet, but I am not sure if that is the right way to go.
Here is an example of what I want:
Readonly XML file that defines a list of contacts. In the XML file, it also contains e.g. file path to photo of contact.
Ideally I then want to show the data in e.g. a TListBox (which might mean I need to write my own logic for loading images in/out of memory.)
If validation is not required (as in the linked answer above), try
NativeXml
or
OmniXML
Both are free open source libraries for Delphi, however I have not checked if they can be used on other platforms.
Update: see http://www.kluug.net/omnixml.php and Windows & Mac XML library for delphi XE2

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 TJclCompressArchive).Compress;
CloseArchive;
end;
When (FArchive as TJclCompressArchive).Compress; is executed it produces an exception: "At least one compression volumes could not be replaced after an archive out-of-place update." Also sometimes when I press the save button, the "application is not responding" appears in the form's caption, so I have to shutdown the demo.
Is this code correct or do I have to change it to sucessfully compress and save the zip file? Are there any other demos for JclCompression so I can learn how to use these classes?
Aside from this problem the demo seems to be working correctly. I can open a zip file, create a new zip file, add files, add files from a directory, extract selected files, extract all, and get zip file properties. Saving seems to be a problem.
I am using Delphi 2010 on Windows 7.
Same issue as jedi-jcl-compression-library-wont-open-spanned-archive-files.
JEDI JCL Compression library wont open spanned archive files
The JCL-JVCL version you use is buggy.
I would recommand to upgrade your JCL installation to latest daily build
I saw this error message when files which I wanted to archive were opened for writing, so you need to close them or copy them to temp folder in advance. Also If you using function Create7zArchive() as i do you need 7z.dll placed in your bin output folder. It's sad, but it seems JCL doesn't use Zlib.pas which is already integrated in Delphi.
JCL 2.7.0.5676 (Stable)

PDF generation library for a delphi text editor

I have this small word editor written in Delphi, I need a library to save/export the text as a PDF document.
Is there any good library, .dll file, preferably free, that gives this function? maybe converting it from a string, or the .rtf file to a PDF?
Perhaps Synopse PDF engine - it is Open Source (you can choose between MPL/GPL/LGPL license) and it has builtin export from RTF to PDF (see comment by A.Bouchez, author of the lib).

Resources