Jump to content

Uwe Raabe

Members
  • Content Count

    2826
  • Joined

  • Last visited

  • Days Won

    168

Uwe Raabe last won the day on March 20

Uwe Raabe had the most liked content!

Community Reputation

2127 Excellent

About Uwe Raabe

  • Birthday 09/30/1956

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Uwe Raabe

    About the compiler (not) finding the DFM files

    It is basically what the IDE does to support the entries in the configurations. So, yes, that will work. Actually, it matches my proposal a few posts above.
  2. Uwe Raabe

    function declarations without ; at the end

    I found the first entry of this function in Delphi 2010 and it misses the semicolon already.
  3. Indeed there are: Set TControl.RaiseOnNonMainThreadUsage := True This will raise an EInvalidOperation when CheckNonMainThreadUsage is called for a control. This is automatically done inside CreateWnd.
  4. Uwe Raabe

    How I fixed LSP (sorta) and a question

    Shall I read that as we made changes to the interface part? Interesting. A short test on my system showed that it was not possible to navigate to any VCL source file when the $(BIN)\source\VCL entry of the browsing path was missing. It's probably not me alone who would be interested in a reproducible test case.
  5. After installing the patch most of the packages compiled with the unpatched version must be re-compiled to work with the patched version.
  6. Uwe Raabe

    function declarations without ; at the end

    Wrong! According to N.Wirth (Pascal User Manual and Report page 149) there is an Empty Statement:
  7. Uwe Raabe

    About the compiler (not) finding the DFM files

    Create an Option Set with the appropriate entries and add that to each project as reference. Then you really have only one place to change that even works when the project is opened in an IDE using another registry key, being another version or residing on a different system - all assuming that the paths actually exist. Personal preference and the fact that I work for different customers with different sets of used libraries. I just don't want to clutter the search path with unneeded entries.
  8. Uwe Raabe

    function declarations without ; at the end

    In Pascal the semicolon is a statement separator and not part of the statement. Remember the if-then-else...
  9. Uwe Raabe

    About the compiler (not) finding the DFM files

    My request is targeting the per project option on purpose, while the global option would probably make sense, too - in addition. Please feel free to add your opinion on that in the comments, best with a concrete example where the current state may fail. Perhaps this per project approach is driven by my personal favor of not contaminating the library path with the paths from the installed components, but add these on a per project basis restricted to the libraries actually used by the project. My projects follow a common folder pattern with a source and a lib folder at the project root and all libraries as sub folders of lib. This allows for similar relative paths in each project to find all the library files.
  10. Uwe Raabe

    How I fixed LSP (sorta) and a question

    Wouldn't it be sufficient to adjust the entries in Tools > Options > Language > Delphi Options > Library -> Browsing path?
  11. Uwe Raabe

    About the compiler (not) finding the DFM files

    RSS-3125: Add Option to edit DCC_ResourcePath
  12. Uwe Raabe

    Delphi 12.3 is available

    The actual wording is: If that means replacing the current system with a completely new approach is debatable.
  13. Uwe Raabe

    About the compiler (not) finding the DFM files

    Not quite, that setting is stored as BRCC_IncludePath. DCC_ResourcePath is indeed the correct way to provide the paths to look for the DFM resources. Unfortunately there is no UI to edit that. Manually editing the dproj file adding a node like <DCC_ResourcePath>..\lib\Source;$(DCC_ResourcePath)</DCC_ResourcePath> under the appropriate PropertyGroup will make the DFM files located in ..\lib\source to be found without exposing the PAS files in that folder.
  14. Uwe Raabe

    Monitor Layout registry entry

    While it is always stored in English even if your IDE is set to any other language, I also think that using such a caption to store the selected option is not that a good idea. As a Delphi developer I would use an enumeration for the setting values and store that in a suitable manner.
  15. Uwe Raabe

    Method Selection ability??

    Just to make sure I understand correct: You want to comment the implementation of a method, but not the declaration? In such a case I usually extract the current method with MMX into a new one. Let's assume the method is named MyMethod. Then I extract the content in question (can be the whole) into a new method MyMethodA. If configured accordingly that leaves a single call to MyMethodA in the body of MyMethod. Then I can either comment that call or replace it with another call to MyMethodB, which is implemented differently. This has the advantage that I can call either method depending on some condition or configuration setting to test the behavior without re-compiling.
×