Windows file lock blocks in-place replacement of running Delphi executable
The goal is to migrate a small VCL application from BDE to FireDAC without interrupting users. The data-access change is fixed at compile time, so a given build uses either BDE or FireDAC, not both. Windows locks a native Delphi EXE while the process runs, preventing the new build from overwriting the old file on the same machine. Delphi has no built-in live