Hi Friends!I want to embed a PDF file into my EXE Delphi application.NOTICE: I don't want load a PDF file from my hard disk, I want the PDF file to be embedded into my EXE file like a image or WAV file because the PDF file is copy righted and the user shouldn't be able to save it.Users should be able to search through the PDF file.I know about Acrobat Reader Active X and also some other components like Gnostice PDFtoolkit VCL, XpdfViewer Activex, eXPert PDF ViewerX but the problem is that all of these components load PDF from hard disk and can't embed a PDF file into EXE Delphi application.

I do not know of any easy way to do this. A motivated thief would still be able to screen-shot each page in the absence of save and print functions.

You could obfuscate the pdf using DCPCrypt or similar component and store the encrypted file in a dll or other resource. Read the dll (or resource file) from your exe and decrypt it for display in a pdf viewer component. Hopefully, you can find a pdf viewer component that allows disabling of save and print.

HI Mathgod,DCPCrypt is very nice tool and I think it is my best choice.I am using Very PDF Active X and can easily disable save and print.I also disable Screen shot. I assigned a hot key to "Print Screen" button and then disabled the hot key, it works fine.