Source language: Translate to:

Embedded .exe files

General questions about NeoBook

Moderator: Neosoft Support

Embedded .exe files

Postby StarterPack » Thu Mar 09, 2017 4:16 pm

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
StarterPack
 
Posts: 115
Joined: Fri Feb 19, 2016 6:55 am

Re: Embedded .exe files

Postby Gaev » Thu Mar 09, 2017 7:04 pm

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.
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Embedded .exe files

Postby StarterPack » Thu Mar 09, 2017 10:22 pm

OK I understand... Thank You Gaev
StarterPack
 
Posts: 115
Joined: Fri Feb 19, 2016 6:55 am


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron