Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 12 Monaten
Letzter Beitrag:
vor 12 Monaten
Beteiligte Autoren:
Mujahid, Jose Antonio Garrido, Fabrice Harari

[WD19] Include external EXE file into WD project

Startbeitrag von Mujahid am 25.10.2016 07:25

Hi all,

Is there any way on how to include the other/external .exe file (let say ABC.exe) into Windev project but we can control to hide or encrypted the ABC.exe file, so the end user cannot view or open the ABC.exe directly unless using main application that develop by Windev.

Is it possible to do it using Windev?

If there any third party tools that can handle this issue also ok.

Thanks a lot.

regards,
Mujahid

Antworten:

Hi

there is a possible solution:
- you can add files into your exe. I'm not sure you can directly add an exe though (never tried). Ad I'm not sure either that you can run it directly if you can (see the help for that)
- but, at a minimum, you can add an HF file in the exe and access it directly (in read only). IN that HF file, you can have your exe in a binary memo field
- therefore, even if you can't do it directly (and you'll need to test that), you can extract it from your HF file into a temporary directory hidden somewhere, run it, then delete it.

Best regards

von Fabrice Harari - am 25.10.2016 09:12
Hi.
You can also check this product:
http://enigmaprotector.com/en/about.html

It seems that the new free version shows some nag screen. I have and old version that didn't show anything.
Also the full version his cheap.

So imagine this is your project file structure:
MyApp.Exe
MyApp.Dll
MyApp.Ini
MySecondaryApp.Exe


Then the generated virtual app be only one exectuable file:
MyAppVirtualized.Exe

When you Run MyVirtualizedApp.Exe, it will run in a virtual enviorement so not file extraction to the disk will be performed! This is very important as you asked that would not like the users to see, or execute the file)

All that being said, I did only check read and write operations to the files like:
fOpen(MyApp.ini)

But didn't try to execute an app like:
ExeRun(MySecondaryApp.exe)
But I think it will work, since DLLs are run without problem.

Regards,
José Antonio.

von Jose Antonio Garrido - am 25.10.2016 11:35
Hi,

Thanks Mr Fabrice for your idea. I will try it. :)

And Jose i have done it with successful. Amazing because Enigma Virtual Box is free and easy. ;):spos::spos::spos:

Thanks a lot!!!

Regards,
Mujahid

von Mujahid - am 25.10.2016 14:32
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.