digitalmars.D.learn - .Exe file how to embed in resource after start program
- Ali GOREN (11/11) Jul 01 2013 Hi.
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (5/6) Jul 01 2013 Please don't say that. :) Thank you very much for writing in English so
- Ali GOREN (3/9) Jul 01 2013 Hmm thank you very much :) i want to embed because high security
- =?UTF-8?B?TWFydGluIERyYcWhYXI=?= (14/26) Jul 01 2013 Hi,
Hi. Sorry for my bad english. I want to embed .exe file in resources my program. Etc. Y.JAR embed => DProgram.Exe after if start DProgram.exe Y.Jar program start. :) I'm very, very sorry. Because very bad my english. Thanks :)
Jul 01 2013
On 07/01/2013 12:28 PM, Ali GOREN wrote:Sorry for my bad english.Please don't say that. :) Thank you very much for writing in English so that we can understand you. I don't have an answer to your question though... :-/ Ali
Jul 01 2013
On Monday, 1 July 2013 at 20:11:40 UTC, Ali Çehreli wrote:On 07/01/2013 12:28 PM, Ali GOREN wrote:Hmm thank you very much :) i want to embed because high security program :(Sorry for my bad english.Please don't say that. :) Thank you very much for writing in English so that we can understand you. I don't have an answer to your question though... :-/ Ali
Jul 01 2013
Dne 1.7.2013 23:03, Ali GOREN napsal(a):On Monday, 1 July 2013 at 20:11:40 UTC, Ali Çehreli wrote:Hi, one way, not necessarily the optimal one, that works in Windows: - save the exe as a string in a file, like: enum prog = '...'; and compile it to your wrapping program - 1) run the wrapping program, write the prog to disk and call CreateProcessEx (it requires file in the filesystem) - 2) run the wrapping program, memory map the prog and then try to follow this guide at StackOverflow (the one with 21 upvotes) http://stackoverflow.com/questions/305203/createprocess-from-memory-buffer Both approaches have their pros and cons and you should tread carefully, especially if you say that this should be about high security... Regards, MartinOn 07/01/2013 12:28 PM, Ali GOREN wrote:Hmm thank you very much :) i want to embed because high security program :(Sorry for my bad english.Please don't say that. :) Thank you very much for writing in English so that we can understand you. I don't have an answer to your question though... :-/ Ali
Jul 01 2013