Der schöne Günther
Members-
Content Count
693 -
Joined
-
Last visited
-
Days Won
12
Everything posted by Der schöne Günther
-
Overloocked Format( ) options
Der schöne Günther replied to Rollo62's topic in RTL and Delphi Object Pascal
I didn't even know, altough it's properly documented: System.SysUtils.Format - RAD Studio API Documentation (embarcadero.com) I still find ('The result is %8.2f', [myFloat]) more readable than ('The result is *.*f', [8, 2, myFloat]) -
Do bug fix patches really require active subscription?
Der schöne Günther replied to David Heffernan's topic in General Help
I think this used to be different. But judging from Lars' screenshot, it really looks like this is the current implementation: -
That is because the IDE uses an embedded Internet explorer control to display web content from Embarcadero.com. Whenever there's something from with scripts or certificates on their end, error messages will be displayed on your computer.
-
Find exception location from MAP file?
Der schöne Günther replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
We just set System.ExceptObjProc (and one or two others, I think) to point to our own exception handler and acquire a textual representation of the callstack with FastMM_Fulldebugmode.dll. Never saw the need for additional tools like Eurekalog or MadExcept. As far as I recall, precompiled FastMM dll internally uses JCL for looking up the .map file, but can be recompiled to use Eureka or MadExcept as well. -
Awww, yuss! 🥳
-
macbook pro M1, running Delphi IDE
Der schöne Günther replied to Joe Sansalone's topic in General Help
Here you go: Has anyone tried running Delphi on Windows ARM? - Delphi IDE and APIs - Delphi-PRAXiS [en] (delphipraxis.net) Can't blame you for not finding it, the forums search returns nothing on entering terms like "M1" or "ARM" -
Display Componant like Gauges Led and Graphic for Delphi FMX
Der schöne Günther replied to Remi1945's topic in I made this
You are right that it can be used for commercial products: But the page you used correctly says: So yes, I may still charge money for the software I sell ("commercial"), but I will have to make all of my source code (not just yours) available to everybody. See here (in French): Licence publique générale GNU — Wikipédia (wikipedia.org) -
Display Componant like Gauges Led and Graphic for Delphi FMX
Der schöne Günther replied to Remi1945's topic in I made this
It's the "license" page straight from his Github repo, I posted the link above. An even more colourful overview is provided by tldrlegal.com: GNU General Public License v3 (GPL-3) Explained in Plain English - TLDRLegal -
Display Componant like Gauges Led and Graphic for Delphi FMX
Der schöne Günther replied to Remi1945's topic in I made this
Looks really nice. But are you sure about the GPL license? -
compiling DCU without creating EXE
Der schöne Günther replied to Dave Novo's topic in RTL and Delphi Object Pascal
This is also one of the things that bugs me most. There must be a way to speed this up. You just change one line of code and then have to stare at your screen for 15 seconds because everything must be linked again. -
WASM engine in pure Pascal - an interesting open source project to watch!
Der schöne Günther replied to Edwin Yip's topic in RTL and Delphi Object Pascal
Yes, I had seen that, and it looks incredibly capable and powerful. If I had a use case, I would certainly try it out. I was just trying to say that, unless you already had completely platform and UI-independent Pascal code (and a use case for it), I don't really see what you would use it for. A bit like a solution, still looking for a problem. -
Has anyone tried running Delphi on Windows ARM?
Der schöne Günther replied to Chris Pim's topic in Delphi IDE and APIs
Can you confirm it cannot only build projects but also debug them? -
WASM engine in pure Pascal - an interesting open source project to watch!
Der schöne Günther replied to Edwin Yip's topic in RTL and Delphi Object Pascal
A lot of Delphi code (at least the one I deal with) is often plagued by VCL or Windows platform dependencies. Not going to run in a browser anyway. -
Build managed dll in Delphi
Der schöne Günther replied to BastiFantasti's topic in RTL and Delphi Object Pascal
Why not stick with a native dll and use that from .net? Platform Invoke (P/Invoke) | Microsoft Docs -
I assume "I get an OS error" means "CreateProcess(..) returns false and GetLastError() will then return ERROR_ELEVATION_REQUIRED". Is that correct? If so, it appears that CreateProcess(..) cannot be used to automatically handle the UAC prompt and everything beyond that for you. Use ShellExecute(..) instead. (Source: Using the ElevateCreateProcess Fix | Microsoft Docs)
-
I might be missing something, but if you need to do that, why are you omitting the override; behind your declaration?
-
Delphi 10.4 : Unlock Windows by call to Windows API
Der schöne Günther replied to gioma's topic in Windows API
I believe you will still have to get familiar with Windows Desktops: Desktops - Win32 apps | Microsoft Docs -
Delphi 10.4 : Unlock Windows by call to Windows API
Der schöne Günther replied to gioma's topic in Windows API
The login screen is an entirely different "desktop" (not to be confused with "Virtual desktops" which were introduced with Windows 10), much like an elevation prompt ("user account control"). An application that runs without administrative privileges cannot access that "secure desktop" the login screen is running on. You can, for example, also see this with other solutions like TeamViewer or AnyDesk: When they don't have administrative privileges and the user locks his account, they can't do anything. -
It's been a few years since I last did something with C++ Builder. I just freshly installed 10.4. I created a new project from scratch. It compiles on Win32 and Win64, but there is no code completion, [Ctrl]+[Space] does nothing at all. I see that C++Builder and Platforms Support - Embarcadero Blogs - Developer Tools - IDERA Community states Embarcadero strives to provide a "fully functional code completion". Does that mean that there is at least a partly functional code completion? If yes, how can I enable it?
-
after updating to windows 20h2 i can't register bcb 6 anymore
Der schöne Günther replied to JeanCremers's topic in General Help
I would honestly consider running 20 year old software in a virtual machine, not a real one. -
Thread Issues: using resume and start
Der schöne Günther replied to Aamgian's topic in Cross-platform
Just as an information, here is what the documentation says about CreateAnonymousThread(..): That directly contradicts your error message Strange. -
Keyboard shortcut to move current line up or down?
Der schöne Günther replied to RaelB's topic in Delphi IDE and APIs
Alt+Shift+[Up/Down] -
Delphi 10.4.2 & TEdgeBrowser ( & TWebBrowser in Edge mode)
Der schöne Günther replied to aehimself's topic in Tips / Blogs / Tutorials / Videos
Not entirely true. There is a property "SelectedEngine" and "ActiveEngine", but as usual, there is no documentation: SHDocVw.TWebBrowser.SelectedEngine - RAD Studio API Documentation (embarcadero.com) You can, however, read a bit about it here: Using TEdgeBrowser Component and Changes to the TWebBrowser Component - RAD Studio (embarcadero.com) PS: As far as I remember, if you chose to ship your own, fixed runtime, you can also set an environment variable in your process and the Edge runtime will pick it up: Globals | Microsoft Docs -
Delphi 10.4.2 TWebBrowser navigate URL
Der schöne Günther replied to ChrisChuah's topic in Network, Cloud and Web
The "Navigation to web page was cancelled" indicates that this rendered by Internet Explorer. You either had an internet explorer plug-in for rendering PDFs (like Adobe Reader), or you had your TWebBrowser set to use Edge instead of Internet Explorer. Edge displays PDFs flawlessly with no external dependencies. -
The IDE has (or had?) terrible problems with resolution changes, like changing the size of your remote desktop window which also includes connections to Hyper-V VMs. It often got stuck for a minute or completely locked up. It seems they have fixed that with 10.4.2: Delphi 10.4.2: Improvements for Microsoft Remote Desktop sessions – FlixEngineering LLC