-
Content Count
1301 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Sherlock
-
Condolences...roll back your VM to before and remove Parnassus and forget about them they are not worth the hassle. Edit: But it still might be salvageable just in case you don't use that particular best practice.... I'm sifting through the heaps of parnassus related stuff.
-
I'm unsure, because I never needed the bump myself
-
IIRC that eMail should go to sales not support.
-
As a starting point (and not elaborating on your SO find) I would try to add a shape and react to dragging and clicking actions. One would have to reinvent the mouse cursor with this "solution". But it might turn out to be not that much work.
-
Questions about the result of an external test
Sherlock posted a topic in Software Testing and Quality Assurance
So, my application has been tested by an external company to check for vulnerabilities. This test was part of a larger audit of our company. I have one or two questions about this test especially concerning Delphi and its possibilities. The application is an FMX Win64 app, that tries to connect to dedicated servers in the local net, these must be configured in an ini-file accordingly. The app produces no sound, just charts or other imagery. No here are the test results in my own words. What I would like to know is how to avoid them in the future. It was observed that the app allowed the loading of an insecure DLL. Namely avrt.dll. The App uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors. It was observed that the app has the following compilation flags not enabled/ not set. - Authenticode - cfg - forceIntegrity - gs - rfg As for 1) that seems to be some audio or multimedia thingy according to https://windows10dll.nirsoft.net/avrt_dll.html. As I wrote before: No sounds from my App. How can I shut this down? I am at a total loss concerning 2). I wouldn't even know where to start looking for those flags. Is anyone here aware of a problem with 2)? And who knows how to fix that? -
Questions about the result of an external test
Sherlock replied to Sherlock's topic in Software Testing and Quality Assurance
@Kas Ob. thank you very much for this really detailed explanation. Very VS-centric. I had feared as much, when I read the report. I would like to know Embarcaderos position on this. This seems to be quite the aggressive attack on non-VS development, thinly veiled by regulatory requirements or the ever so popular "compliance". On the other hand now I have at least a bit of ammunition to react to this peculiar thing. On a side note, this is part of the process to get software certified as a medical device... something that gets harder every day in Europe and easier in the USA. But still, the claim or issue remains, that Delphi applications might load some DLL from insecure places. Without the developers intent. I found what caused the avrt.dll to load BTW. In my case it was the unused inclusion of the unit FMX.Media.... -
If you need to ask ChatGPT, you should not start the development. Because you would clearly not be from this branch of industry. Just listing some topics is not even the tip of the iceberg...just a snowflake on top of that.
-
If not, it's dead. Chrome and all Chrome derivatives use it extensively already.
-
How to correctly write a universal project for both Windows and Andorid platforms?
Sherlock replied to dmitrybv's topic in FMX
This strongly depends on the context your app is used in, or rather what your app is supposed to do. I would not even try to write a word processor for Android, unless I could assume that all users have a real keyboard.Even then the Android version would be stripped of some features. I would also create a UI which would be very similar in both worlds, so no MainMenu and no PopupMenu. Those would be replaced by something like the FMX.TMultiView. But I guess looking at tutorials might give you the best ideas. So here goes: https://docwiki.embarcadero.com/RADStudio/Athens/en/Tutorials https://docwiki.embarcadero.com/RADStudio/Athens/en/Multi-Device_Applications_Index and maybe this: -
Interesting. I have no iPhone X, I just found this information at Apple and thought it might be an explanation.
-
iPhone X only supports iOS up to version 16.7.5...or rather the other way around. iOS 17 is not supported by iPhone X.
-
The installer will uninstall anyway. No way around that yet. 3rd party components might survive the uninstall, or not. Make sure to click the save settings box when prompted at the uninstall part of the procedure, that helps a lot.
-
Slightly off topic: Reading this site with the standard light layout I thought the images where all broken...until I saw the webp and realized all images are white on transparent background. Silly me
-
Unable to rename source file on save?
Sherlock replied to Angus Robertson's topic in Delphi IDE and APIs
bds.exe will not prevent other instances from opening, it wont even tell you there are others running. This is so you could debug the IDE or plugins therein without hassle, should you be so inclined. BUT GExperts has a nag screen, that pops up if mutiple instances of it are started... which makes it sort of a crutch to notice still running bds.exe. But this dialogue may be disabled. -
the Real Purpose of using Reintroduce
Sherlock replied to bravesofts's topic in Algorithms, Data Structures and Class Design
I'm not sure if this thread is meant to be a question or actually a blog post...or tutorial. -
Assuming they really are based in the US you may have caught them in the middle of a 4th of July party. I'd give them till next week before moving on.
-
GExperts has the Expert Manager to do just that. Perhaps give it a try.
-
Suggestion for next version name - YASAB
Sherlock replied to marc7909's topic in Delphi IDE and APIs
My D12.1 is running in a VM and it's fast. -
@Uwe Raabe Has written a nifty tool to circumvent this: https://www.uweraabe.de/Blog/2014/09/09/the-garbled-path-variable/
-
It should be possible, but just like Whatsapp, it comes with the price of losing resolution aka details. Let's get some details: What kind of films are we talking about here? Resolution, duration? Because my phone films 1080p at 30fps and gives me roughly 55MB (HEVC) for a one minute clip. That is almost not worth mentioning. Extrapolate that to 10 minutes and you get roundabout 600MB, nowadays, that is next to nothing.
-
That is the catch @Vanar might have overlooked. Once the clip is there, there is no need to compress it to load it into an application, that should work just like that, automatically. On the other hand, if you own the server, you need to do your compression (lossy, by the way) there, on the server. And you need to check if you find a matching inflation-lib for your app.
-
This is the best tip yet, because reinventing UI/UX is not something that should be done by just anyone. The other books mentioned should be considered a more fleshed out version of the RAD-Studio help files and not a guide on how to design a user interface.
-
I'm guessing Serenade might get you closest to what you need, but not without some (extensive) preparation. Out of the box it does not support Pascal or Delphi, but it is extendable via custom commands and plugins: https://serenade.ai/docs/
-
I actually did that a couple of months ago, but lost my little "how to". So here is the basic steps taken from this link https://sid-500.com/2017/10/26/how-to-digitally-sign-powershell-scripts/ and an SO answer: Generate the key: New-SelfSignedCertificate -DnsName email@yourdomain.com -Type CodeSigning -CertStoreLocation cert:\CurrentUser\My Export the certificate without the private key: Export-Certificate -Cert (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)[0] -FilePath code_signing.crt The [0] will make this work for cases when you have more than one certificate... Obviously make the index match the certificate you want to use... or use a way to filtrate (by thumprint or issuer). Import it as Trusted Publisher Import-Certificate -FilePath .\code_signing.crt -Cert Cert:\CurrentUser\TrustedPublisher Import it as a Root certificate authority. Import-Certificate -FilePath .\code_signing.crt -Cert Cert:\CurrentUser\Root Sign the script (assuming here it's named script.ps1, fix the path accordingly). Set-AuthenticodeSignature .\script.ps1 -Certificate (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert) And that should do it for your machine. Obviously the last steps need to be done on every client that is supposed to recognize this certificate.
-
Delphi Parser/Compiler Limitation?
Sherlock replied to Larry Hengen's topic in Algorithms, Data Structures and Class Design
And in the forum the code tags, I'd like to add.