Jump to content

Uwe Raabe

Members
  • Content Count

    2882
  • Joined

  • Last visited

  • Days Won

    169

Everything posted by Uwe Raabe

  1. Uwe Raabe

    TGUID to Json

    As I cannot spot one, do you happen to have a QP report at hand? Otherwise I will create one. It would be nice if you can post the source here, unless you opt for creating that QP entry yourself.
  2. Uwe Raabe

    Dependency Analyzer command line

    Currently this is not implemented. The context is populated with help from the IDE ToolsAPI, which is not available for a command line tool. While in principle this is possible by evaluating the dproj file, but currently I have no spare capacity for that. When time allows I can share some code that can serve as a start.
  3. type TObjectDictionaryWithDuplicateObjects<K,V:class> = class(TObjectDictionary<K, TObjectList<V>>) public procedure AddObject(const Key: K; Value: V); end; procedure TObjectDictionaryWithDuplicateObjects<K, V>.AddObject(const Key: K; Value: V); var list: TObjectList<V>; begin if not TryGetValue(Key, list) then begin list := TObjectList<V>.Create; Add(Key, list); end; list.Add(Value); end;
  4. That is exactly what I would have suggested. I have seen quite a couple of implementations using that pattern.
  5. Uwe Raabe

    MMX V15.1.1 released

    Actually one need to enter just MYDEF, just like you do for the Defines in the compiler options or the options of the Unit Dependency Analyzer. BUT, there is a refresh problem in the current MMX version: You have to restart the IDE to make the MMX parser reload the defines. Of course that is quite buggy, as even switching the project misses to update the defines for the parser. I will fix that with the next version.
  6. Uwe Raabe

    Delphi 11.2 unofficial LSP patch

    No. AFAIK it uses (besides some Windows core DLLs of course) only RLink32.dll and perhaps borlandmm.dll.
  7. Uwe Raabe

    Delphi 11.2 unofficial LSP patch

    As it replaces dcc32280.dll and dcc64280.dll, which are used by DelphiLSP, the command line compilers stay the same and are not be affected.
  8. Uwe Raabe

    MSBuild - set library paths without touching IDE options

    Have you actually tried to specify DCC_UnitSearchPath on the MSBuild command? msbuild /property:DCC_UnitSearchPath="d:\mycomp\lib" myproj.dproj
  9. Uwe Raabe

    OAuth2 bearer token example?

    It is possible that you have to implement it yourself in the way it is needed as it is noted in the docs: That said, giving a concrete example is difficult without knowing more details.
  10. Uwe Raabe

    Close application during form create??

    This code should terminate the application after the form creation without making the main form visible: Application.ShowMainForm := False; Application.Terminate;
  11. Uwe Raabe

    TestInsight 1.2 released

    Duh 🤯
  12. Uwe Raabe

    Split String

    The calls to SplitString look as if the parameters need to be switched. First parameter is expected to be the string to be split, while second is the string with the separators. Note that the QuickReport implementation allows only a Char for the separator, while the StrUtils one allows multiple separators.
  13. Seems like the machine manufacture prefer the replace option. Sometimes they provide a replacement of the controller hardware, but often that turns out incompatible to the machine equipment. I would love that to be different, as it would allow me to sell updates to newer versions of my software developed with more recent Delphi versions.
  14. Uwe Raabe

    Split String

    Can you show both uses clauses of that unit?
  15. Uwe Raabe

    Split String

    Put the StrUtils into the uses of the implementation section or at least after QrCtrls.
  16. My customer base has machines running even with Windows 95. It is quite common that such kind of machines are not able to get a new version anymore.
  17. Uwe Raabe

    Split String

    In that case you need to show more of your code.
  18. Uwe Raabe

    Split String

    LeftStr and RighStr are functions declared in StrUtils.
  19. Which seems to be a no brainer since we just learned that you can just copy that code from Microsoft.
  20. That was exactly my thought. 👍
  21. Uwe Raabe

    DBGrid1.Columns[1].Font.Color

    Have you tried using the debugger to inspect the actual content of Str in the problematic case?
  22. Uwe Raabe

    How to set IDE Style path

    Can you check what the IDE environment variable $(BDSCOMMONDIR) contains?
×