Page 1 of 1

The binary couldn't be patched, because it's currently in us

Posted: Wed Apr 05, 2017 4:49 pm
by FredS
I am getting this in Tokyo:

Code: Select all

[madExcept Warning] PA.dpr: The binary couldn't be patched, because it's currently in use.
I am running code in the Post-Build Even as posted in: viewtopic.php?f=4&t=5531#p50765

I should add: the binary does get patched so not mission critical..

Re: The binary couldn't be patched, because it's currently i

Posted: Mon Apr 10, 2017 8:55 am
by madshi
Do you have any idea why the EXE might be "in use"? I've no idea right now.

(This error message means that madExcept wasn't able to open the file for write access.)

Maybe your Anti-Virus software opens the file to check it and at that point madExcept tries to patch it, but can't open it for write access because the AV software is checking it?

Re: The binary couldn't be patched, because it's currently i

Posted: Mon Apr 10, 2017 7:08 pm
by FredS
madshi wrote:Do you have any idea why the EXE might be "in use"?
Since this all works in Berlin either you changed the timing of your call for Tokyo or Tokyo hasn't been tested well enough. My bet is on the latter.. :)

Re: The binary couldn't be patched, because it's currently i

Posted: Mon Apr 10, 2017 7:20 pm
by madshi
Well, at least I haven't changed anything timing related... :lol: