RunPE icon indicating copy to clipboard operation
RunPE copied to clipboard

Is there any way to bypass the argument limitiations mentioned in README.md?

Open MexHigh opened this issue 2 years ago • 1 comments

I'm using RunPE as a library in my project. I load the file bytes myself and added a public function to RunPE to which I can pass the file bytes and arguments. I build RunPE as a class library.

However, when trying to execute a binary, that does not use CommandLineToArgvW, the arguments passed to MY binary will get passed to the binary I want to execute and the first argument passed to StartExecution (which should be the args as a string[]) is ignored.

Is there any way to patch this, so that I can pass arguments programmatically?

MexHigh avatar Apr 28 '23 13:04 MexHigh