Action event handlers for the File|Open and File|Exit menu handlers are swapped in RAD Studio/Delphi/C++ Builder

Abstract: Action event handlers for the File|Open and File|Exit menu handlers are swapped when unsigned DLLs reside in the “bin” folder of RAD Studio

Some customers have reported this strange behavior in the product in the past. It seems always related to have unsigned DLLs in the “bin” folder of the product (for instance, C:\Program Files (x86)\Embarcadero\Studio\14.0\bin in an XE6 default installation).

Only files provided by Embarcadero may reside in the bin folder. Common files which are mistakenly copied to the bin folder are third party components and database drivers (for example sqlite3.dll or libmysql.dll). The easiest way to determine if this might be your problem is to list files by timestamp and look for files created before or after the release of your product.