AlbertoVesx Posted October 1, 2015 Posted October 1, 2015 Where can I change this text that appears when the size of the file is bigger than allowed? Thank you. Quote
Sherzod Posted October 1, 2015 Posted October 1, 2015 Hi, It is resourcestring and it is declared in the module uniFileUploadwhile, maybe, you can try this: procedure HookResourceString(rs: PResStringRec; newStr: PChar); var oldprotect: DWORD; begin VirtualProtect(rs, SizeOf(rs^), PAGE_EXECUTE_READWRITE, @oldProtect); rs^.Identifier := Integer(newStr); VirtualProtect(rs, SizeOf(rs^), oldProtect, @oldProtect); end; procedure TMainForm.UniFormCreate(Sender: TObject); begin HookResourceString(@MAX_SIZE_ERROR, 'Your message'); end; Best regards. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.