Page 1 of 1

External Data

Posted: Mon May 09, 2022 2:29 pm
by Behdadsoft
Hi.

I have a Program.exe and a Bin folder that contain many images and the program.exe call images from this folder and Uses them. Now I want to prevent others from accessing the images inside Bin folder . I don't want embed them inside program.exe. I want to have a packed file like images.dat inside Bin folder and my program call images from it.

How can do this work?

Re: External Data

Posted: Mon May 09, 2022 6:44 pm
by Enigma
Hi, you need to use Virtual Box - Packaging feature.

So you need to set the package file name to "bin/images.dat". Then create a package, where add a root folder %DEFAULT FOLDER%, then inside it add folder "bin" and all image files inside it. Put image.dat that Enigma creates in "bin" folder of protected exe.

This way it has to work as you expect.

But to my mind, it would be more clean if you put images.dat just inside folder with protected exe, this is more clean and simple.

Re: External Data

Posted: Tue May 10, 2022 4:44 pm
by Behdadsoft
Thank you for reply.

I tried your way but it doesn't work.

This is package file name picture:

Image

This is package builder picture:

Image

After run protected exe file, I receive this error:

Image

Re: External Data

Posted: Wed May 11, 2022 6:29 am
by Enigma
Are you sure that you copied file images.dat in the bin folder on the disk also?

Re: External Data

Posted: Wed May 11, 2022 10:34 am
by Behdadsoft
Yes, I copied images.dat in the bin folder. Also I tried many way to fix this problem with change in package file name but Nothing changed.

bin/images.dat
bin\images.dat
%DEFAULT FOLDER%\bin/images.dat
%DEFAULT FOLDER%\bin\images.dat

NOTE: My Application is made with Delphi. But I do not think it has anything to do with this problem.

Re: External Data

Posted: Wed May 11, 2022 12:31 pm
by Enigma
Protection works with Delphi files very well, but this should not matter in this case.

Btw, what version of Enigma Protector do you use?

Can you send us this application not protected at support@enigmaprotector.com so we can test it out?

Re: External Data

Posted: Wed May 11, 2022 1:24 pm
by Behdadsoft
I used Enigma 7 demo version.

I sent my app to your mail.

Re: External Data

Posted: Wed May 11, 2022 1:57 pm
by Enigma
OK, I've replied. Everything was working well for me. I sent instructions with screenshots.

Please check it out.

Re: External Data

Posted: Wed May 11, 2022 2:54 pm
by Behdadsoft
Thank you.