Does anyone have a run-time fix for CreateInOutError raising an EInOutError with Code=3 (correct) and Message='Invalid file name - %s' (incorrect because SysUtils should have used System.SysConst not System.RTLConst and System.RTLConst wrongly duplicates some resource strings in System.SysConst) See http://qc.embarcadero.com/wc/qcmain.aspx?d=129530
Does anyone have a run-time fix for CreateInOutError raising an EInOutError with Code=3 (correct) and Message='Invalid file name - %s' (incorrect because SysUtils should have used System.SysConst not System.RTLConst and System.RTLConst wrongly duplicates some resource strings in System.SysConst) See http://qc.embarcadero.com/wc/qcmain.aspx?d=129530
http://qc.embarcadero.com/wc/qcmain.aspx?d=129530
http://qc.embarcadero.com/wc/qcmain.aspx?d=129530
Attila Kovacs code actually using RTLConst would expect the correct string and about any file in operation can throw this exception.
ReplyDeleteI've never done deep code patching before, but I was hoping for a fox that patches the const array inside CreateInOutError
Attila Kovacs not when you link to the shipping BPLs (yes, the project is that hard).
ReplyDelete