In the delphi source code we have :but I don't understand, they mix Atomic operation (AtomicCmpExchange(Pointer(FBase64Encoding), Pointer(LEncoding), nil) with non atomic operation like if FBase64Encoding = nil then and Result := FBase64Encoding;
I have this code (that runs under iOS with Delphi Tokyo):Normally the exception should be caught in the except end block, but in this case it is not caught by the handler and it is propagated to the Application.OnException handler.
I have for habit to execute anonymous thread like :But the problem is that if some unhandled exception will raise during the execution, then i will be not warned about it! For the main thread we have Application.OnException. Do we have something similar for background thread ?
is there a fix for the app store for the Mac OS platform? I create my apps with Firemonkey but it's been a while that I am NOT able to upload my works. There is the warning about the compatibility from apple but still nothing!
This question already has an answer here:When i read the modifications made in the original delphi source code (mostly in the firemonkey) I saw that embarcadero sometime replace if assigned(MyObj) then by if (MyObj <> nil) then. Is their any real reason to do this or it's simply purely cosmetic...