-
Content Count
3416 -
Joined
-
Last visited
-
Days Won
113
Everything posted by Lars Fosdal
-
Cross platform HTTP client with proxy support?
Lars Fosdal replied to softtouch's topic in Network, Cloud and Web
But, it looks like you are correct. MacOS and iOS doesn't allow the app to override the settings in the OS. Platform Behavior Windows The HTTP Client uses the system proxy settings. You can bypass the system proxy settings and you can also provide alternative proxy settings for the HTTP Client. To bypass the system proxy settings, create proxy settings for the HTTP Client and specify http://direct as the URL. macOS The HTTP Client always uses the system proxy settings. Even if you provide alternative proxy settings for the HTTP Client, the HTTP Client uses the system proxy settings. iOS The HTTP Client always uses the system proxy settings. Even if you provide alternative proxy settings for the HTTP Client, the HTTP Client uses the system proxy settings. Android The HTTP Client uses the system proxy settings. You cannot bypass those settings, but you can provide alternative proxy settings for the HTTP Client. Linux The HTTP Client uses the system proxy settings. You cannot bypass those settings, but you can provide alternative proxy settings for the HTTP Client. -
Cross platform HTTP client with proxy support?
Lars Fosdal replied to softtouch's topic in Network, Cloud and Web
I found this issue: https://quality.embarcadero.com/browse/RSP-40392 which appears to be the same, and it is in status Open. The example code looks a bit weird, though. -
Cross platform HTTP client with proxy support?
Lars Fosdal replied to softtouch's topic in Network, Cloud and Web
@softtouch- ref. THttpClient on Mac - Access Violation - did you register an issue on the Quality portal? -
But... so much shit to clean up, and no time allocated to doing it... I'd go nuts.
-
Annoying warning message a'attribute declaration must precede definition'
Lars Fosdal replied to tester1234's topic in General Help
Find out where that attribute is declared and include the file? or... is this relevant: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Workaround_for_C%2B%2B11_Attributes_(Clang-enhanced_C%2B%2B_Compilers) -
I'd be looking for a new job with a competent manager. This sounds like an ulcer-inducing task.
-
The iOS sizes are weird, and needs manual rescaling - so I get the sarcasm from @Anders Melander There was a thread with another Delphi tool that made icons, but I can't recall which post.
-
Wow, that IS weird.
-
I recently bought https://www.charlesproxy.com/ for debugging some https header issues. Easy to use and invaluable insights. It has a somewhat annoying trial version that may help you spot the difference between the Firefox and Delphi headers.
-
Are there any special attributes on the files not listed?
-
That depends somewhat on the platform you want your FMX to run on. The newer IcoFX versions has explicit support for Mac recommended sizes at least. I haven't checked if it has native icns support, but you can use another tool to convert the format. Delphi wants .png files in the various sizes for Android and iOS, so that is something that can be exported - but appear to accept both .ico and .icns for MacOS and Linux.
-
IcoFX is my goto tool for Icons. But, I have to admit I use the last free version: 1.6.4
-
I am at a loss for words... How old is this codebase?
-
Some more fun with ChatGPT and Delphi
Lars Fosdal replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Having an AI that can point out bugs or suggest improvements in MY code, is far more interesting than having purely AI generated code, IMO. On the other hand, I use the ISO8601 methods in System.DateUtils 😛 -
Another good read is https://www.oreilly.com/library/view/framework-design-guidelines/9780135896457/ It is not Delphi specific, but the advice is sound and actively applied to C#/.NET code by Microsoft. Also - the book I wish I had read during my education days. https://www.oreilly.com/library/view/code-complete-2nd/0735619670/
-
Fatal Error F2039 - Could not create output file
Lars Fosdal replied to Willi Fuchs's topic in General Help
Have you excluded the output folder from AntiVirus software? Also, have a look at https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer which can reveal what process that is holding the file. -
How do you handle TPM-Chip under virtual machines ?
Lars Fosdal replied to Rollo62's topic in Tips / Blogs / Tutorials / Videos
I stumbled on this: https://www.parallels.com/blogs/hyper-v-mac/ It doesn't say anything about TPMs, though, but https://kb.parallels.com/123975 mentions being able to run VMWare under Parallells - yet still no word on TPMs. Is that an approach you have explored? -
Fatal Error F2039 - Could not create output file
Lars Fosdal replied to Willi Fuchs's topic in General Help
Have you checked if an instance of the output app is still running? Does the problem persist if you restart the IDE? -
How do you handle TPM-Chip under virtual machines ?
Lars Fosdal replied to Rollo62's topic in Tips / Blogs / Tutorials / Videos
I assume you've already read: https://kb.parallels.com/en/122702 on TPMs? Duh, yes you had >< -
How do you handle TPM-Chip under virtual machines ?
Lars Fosdal replied to Rollo62's topic in Tips / Blogs / Tutorials / Videos
I recently moved my Hyper-V Windows 11 VM from my old laptop to my new laptop. After using the Hyper-V manager Export / Import features, there was one extra step to make the TPM for the old VM work on the new machine. That step was essentially migrating a couple of certificates from the old machine to the new machine. https://robinhobo.com/how-to-move-or-restore-a-windows-11-vm-in-hyper-v-with-tpm-enabled-shielded-vms/ (Also read the comments in the article for helpful tips) I also have Windows 11 for ARM running with TPM enabled under Parallells on a MBP M1 Pro, but since I only have one Mac, I have not researched migration there. I abandoned VMWare for Hyper-V some years ago. -
@WhitePortal Either your firewall, your router, DNS / hosts file, or your internet service provider, or something on the Embarcadero side of things is not letting your traffic through.
-
Is that built on TMS Biz?
-
That looks very promising, @Wagner Landgraf! I already have the code I need for pulling live specs and accessing the APIs. How deeply tied are the TMS Biz classes? Is the loaded Swagger/OpenAPI document class suitable for "plugging in" a custom class generator? I already have a set of framework classes that I want to create code for.
-
Better way to maintain a list in a database table??
Lars Fosdal replied to Ian Branch's topic in General Help
Today, if you are in the enterprise, splunk logging is all the rage.