-
Content Count
2839 -
Joined
-
Last visited
-
Days Won
168
Everything posted by Uwe Raabe
-
Delphi 11.1 Provisioning Access Violation
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
Instead of posting all these messages here without any comment or question, you should better directly file a report at https://quality.embarcadero.com/ Honestly, what do you expect us to do with all this? -
FCaptionsAdded is created in procedure NewStrings, which itself is calle in CreateWnd. The loading process happens way before the window is created, so there is no instance of FCaptionsAdded during loading. Best is to create all instances of the fields inside the class in its Create routine and free them in Destroy.
-
Me too. Perhaps showing your code can shed some light on it.
-
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
The Community Edition in regard to features and limitations is equal to a Professional Edition. The explicit CE restrictions are the version number and the revenue limit or the limit of five developers in the company. One should note that the term revenue means the overall revenue of the company, not only the revenue the company makes with Delphi programming. Anyway, if you are unsure in the details it might be better to ask Embarcadero directly. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
That should be read as: "The CE license is always valid for the most recent CE version." It means, you can't use it for a previous CE version. -
Structured Difference Viewer added to MMX Code Explorer
Uwe Raabe replied to Uwe Raabe's topic in MMX Code Explorer
Yes. Command line options are: -S select structural diff (default) -F select file diff -D:<Delphi version> selects language mode. Accepted values: 10, 10.1 .. 10.5 (yeah, I know) for Seattle to Alexandria <left file> <right file> Indeed, that is an oversight. It tries to open mmsdvmanual.pdf, but I couldn't get a copy from Gerrit as I had hoped. I will disable that entry in the next release until some documentation is available. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
Indeed - and it is intended. -
Trial RAD 11 expired Delphi CE is 10.x
Uwe Raabe replied to Michael Collier's topic in Delphi IDE and APIs
That depends on the actual use case. The supported target platforms for 10.4 are listed here: Supported Target Platforms As CE is for free it is somehow expected to having drawbacks compared to a paid version. -
Can you create a QP entry, please?
-
After getting tired of clicking the wrong one, I created some simple taskbar icons for Delphi with an apparent version shown. Currently there are icons for Delphi 10 Seattle Delphi 10.1 Berlin Delphi 10.2 Tokyo Delphi 10.3 Rio Delphi 10.4 Sydney Delphi 11 Alexandria This is an example for Delphi 11: And this is what my taskbar now looks like: All these icons are available on GitHub: https://github.com/UweRaabe/DelphiIcons
-
Does anyone know what must be done to connect a Delphi 10.4.2 FireDAC application for MacOS (High Sierra and up) to a MySQL server? The docs are probably a bit outdated still referencing an x86 client.
-
@Dmitry Arefiev Thanks, Dmitry! I did that and placed the file directly into the app folder. Renamed it to libmysqlclient.dylib (first tried with the corresponding link dylib) and started a simple test program. Unfortunately it still claims that it cannot load this dylib or the two alternative ones. I can see in the debugger that the SafeLoadLibrary call fails.
-
I guess he meant TVirtualImage instead of TVirtualImageList.
-
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
The background setting is theme agnostic. There are at least three Background_XXX entries in the Welcome Page subkey of the BDS\22.0 registry key. The problem with the settings dialog is that it only saves the changes for the selected (in that dialog) theme. Unsaved changes to previously selected themes are simply forgotten. There is a QP entry for that: Welcome Page background image does not always save changes -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
Obvious often lies in the eye of the beholder. I for myself work with light theme only, so I probably wouldn't have noticed that for ages. -
Strange Benchmark Results; Am I Missing Something?
Uwe Raabe replied to Joseph MItzen's topic in I made this
Strange. I can confirm what @Dalija Prasnikar reported about a 50% reduction in a comment above. For Win32 changing num from Int64 to Integer reduces the time from 5.8 seconds down to 3.5 seconds. For Win64 the runtime for Int64 is way higher (10.4 seconds) than for Win32 (5.8 seconds), but reduces to a slightly better value for num being Integer: 3.4 seconds. -
Strange Benchmark Results; Am I Missing Something?
Uwe Raabe replied to Joseph MItzen's topic in I made this
No, I am calculating the sums. These are the numbers for Win32: Loop: 233333334166666668 elapsed: 3554.07020 ms Calc: 233333334166666668 elapsed: 0.00030 ms Counting all multiples of 3 between 1 and N is N div 3. Let's name that N3. So one can write the Sum of those as total3 := 0; for I := 1 to N3 do total3 := total3 + 3*I; We can now get the 3* out of the sum and get total3 := 0; for I := 1 to N3 do total3 := total3 + I; total3 := 3*total3; Using the well known sum(1..n) formula n*(n+1)/2, we end up with what I wrote above for tot3. Do the same with 5 to get the second term of the result tot5. Now we have to take care of the numbers that are multiples of 3 and 5, as up to now they are added twice. That's where the 15 comes into play with tot35. -
Strange Benchmark Results; Am I Missing Something?
Uwe Raabe replied to Joseph MItzen's topic in I made this
Speaking about algorithms: const cnt = 1000000000; var total: Int64; tot3: Int64; tot5: Int64; tot35: Int64; cnt3: Int64; cnt5: Int64; cnt35: Int64; begin cnt3 := cnt div 3; cnt5 := cnt div 5; cnt35 := cnt5 div 3; tot3 := 3*(cnt3*(cnt3 + 1) div 2); tot5 := 5*(cnt5*(cnt5 + 1) div 2); tot35 := 15*(cnt35*(cnt35 + 1) div 2); total := tot3 + tot5 - tot35; end; Execution time is less than 1 Millisecond. -
Strange Benchmark Results; Am I Missing Something?
Uwe Raabe replied to Joseph MItzen's topic in I made this
That will work for num, but the total may actually exceed that. After all it is the sum of all 3d or 5th numbers. Can you elaborate on how such a simple assignment would look like? -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
Should be available form your my.embarcadero.com account. -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
I wouldn't say so - at least as I tend to handle it. I write about things I find interesting or assume it being interesting to others. As a coincidence it mostly happens to be about Delphi. If that somehow disqualifies me from being an MVP - so be it. I'm confident, they would lose more than me. -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
Without going into details, it merely boils down to blogging, writing, discussing, answering and presenting all sorts of things related to Embarcadero products. Speaking for myself, I invest a good time into this forum and its German counterpart, as well as pestering people to file valuable bug reports. -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
That may as well be, but besides the undeniable benefits it comes with some obligations. -
Delphi 11.1 is available
Uwe Raabe replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
That must not be the actual reason for ending ones MVP status. Being an MVP needs a significant amount of time which not everyone is able or willing to invest. -
Detect if compiler is Delphi 11.1 (and not 11.0) ?
Uwe Raabe replied to A.M. Hoornweg's topic in Delphi IDE and APIs
I think it started with 10.4.1