badzox Posted June 25, 2008 Posted June 25, 2008 (edited) Hi, with the Resources.au3 UDF File it is possible to use embedded files without extracting them to an temporary folder. How can i start an embedded Exe file with parameters ? I tried #AutoIt3Wrapper_Res_File_Add=test.exe, Test,0 run (Test & " parameters") What is wrong ?? Sorry, by posting this messages the server showed an internal error. now this posting existis 3 times Edited June 25, 2008 by badzox
Xenobiologist Posted June 25, 2008 Posted June 25, 2008 Hi, exe is not supported I guess. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
badzox Posted June 25, 2008 Author Posted June 25, 2008 Hi,exe is not supported I guess.MegaI wondering why this is not possible.Mean this, i have to use fileinstall to extract the exe file to an temporay folder ?
Damastah Posted June 25, 2008 Posted June 25, 2008 Yes, but u can then hard code a file delete after you are done with the exe or program.
nobbe Posted June 26, 2008 Posted June 26, 2008 How can i start an embedded Exe file with parameters ?you cannot do this. the only way to do is fileinstall, or write an embedded HEX string, then write binary to a file there is a reason why exe files cannot be embedded and started Internally!!. use internal functions or dll calls if you want to use something internal
Zedna Posted June 26, 2008 Posted June 26, 2008 I can confirm that it's not possible to start new EXE process directly from memory. It's Windows limitation. You can use FileInstall() or _ResourceSaveToFile() from my resources UDF which has the same effect - creates file on disk. Then use Run() with disk saved EXE file and finally delete EXE file (after process finishes). Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now