Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/11/22 in all areas

  1. There are times when this is desirable. It's a big weakness in my view that the type of a literal can be ambiguous.
  2. There are many legacy projects which are still in active production. This volume offers approaches to refactoring and modernizing the code base without the need for complete redesign and rewrite. Evolution, not revolution. These are approaches well suited to the incremental revision of production code, as is usually the concern with a commercial product. Motivated by my own experience with legacy apps and the need to find a manageable approach to transforming a product in current production. On Amazon: https://www.amazon.com/dp/B0B2TY6ZZ4
  3. Darian Miller

    problem upgrading to Delphi 11.1 Patch 1

    How are you handling per-user licensing?
  4. I think the core of the problem is an ambiguity inherent in the original language syntax inherited from the days of Turbo Pascal and earlier. 'x' can be interpreted either as a character constant or a string constant, and the compiler decides which it should be dependent on the context. A char is also assignment compatible with a variable or parameter of type string (but not vice versa). I see no way to get around this, and changing these rules will never happen since they make sense and changing them would break heaps of older code. Of course the compiler could use more stringent rules for overload resolution, e.g. require type identity and not only assignment compatibility. That would solve the conflict in the case you noticed but would be quite bothersome in other situations, requiring more overloaded versions of a function to be implemented. Think about what a type identity requirement would mean for overloaded functions taking numeric types as parameter. Do you really want to declare versions for byte, smallint, integer, word, cardinal etc. ?
  5. omnibrain

    Doscommand OnCharDecoding Output

    Thanks, that worked. The joys of windows legacy and eternal backwards compatibility...
  6. UPDATE: I see that my book is available now in Europe, and some sales have been logged there. So for anyone awaiting that availability. wait no more.
  7. Bought it! This looks like something I can really use! Thanks, Rob C
  8. Hi, I have released source code of a small game. You could see the demo here: https://youtu.be/KVNRi83yYQA Some screenshots: Github repository: https://github.com/nglthach/Swim Best!!
  9. Dave Novo

    problem upgrading to Delphi 11.1 Patch 1

    We are trying to create a template machine that all developers can use. We dont want to have to have a script that all developers have to do manually, i.e. run GetIT, do X, do Y. The base machine should be setup that we just create virtual machines, join them to the domain, and developers login and are up and running. In fact, we are setting up the entire machine via Ansible, so its completely automated, documented and under version control. This ridiculous patch issue is our last issue. I dont see why when they release a patch then EMB cannot rebuild an installer with the patch incorporated.
  10. Lajos Juhász

    Delphi 11.1 - High DPI

    Please send me a copy of D11.1 that works fine. I did my best to support highDPI unfortunately I see no way to do that with D11.1 maybe in D14 will work.
  11. Unless delivery to your location costs twice as the book itself
×