Page 1 of 1

Embedded .exe files

PostPosted: Thu Mar 09, 2017 4:16 pm
by StarterPack
Hi guys, when i embedded a program (Calculator.exe) that I've build into another program I build, and uses the command
Run "[Embedded]Calculator.exe" "" "Normal" "" ""

It does'nt want to run the program even after I compiled it.
Is it because it can't embedded .exe files or must I use another command?
Thank You

Re: Embedded .exe files

PostPosted: Thu Mar 09, 2017 7:04 pm
by Gaev
StarterPack:

This very subject was discussed in the last month ...
[Embedded] is a variable that is only understood by NeoBook ... when you use it in a Run command, the DOS/Windows environment has no idea what it means.

So you have to first use ExtractFile to extract your embedded program file to the user's disk ... then, use the extracted location in your Run command.

Re: Embedded .exe files

PostPosted: Thu Mar 09, 2017 10:22 pm
by StarterPack
OK I understand... Thank You Gaev