Jump to content

FredS

Members
  • Content Count

    424
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by FredS

  1. FredS

    Non Delimited string parsing (registry entries)

    See if this fits: Attribute-based Command Line Parsing
  2. FredS

    10.4.1 Released today

    Never worked for me. A Reg backup and Beyond Compare work with a little effort..
  3. FredS

    10.4.1 Released today

    Anyone able to switch 'Configuration' and have that update in the 'Project Manager' , without using the 'Config Manager'? My 10.4.1 is still Sandboxed on Win7.. Also 'Build Groups' are using the wrong config, strangely changing that (Options) doesn't update the 'Project Manager' display but Barbie band-aids that issue..
  4. FredS

    ICS for Linux?

    - Quick installed Ubuntu 20.04 - ran: `sudo apt-get install openssh-server` - connected via WSL from Host: fred@PUTER:~$ sudo ssh fred@172.17.134.53 fred@172.17.134.53's password: Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-26-generic x86_64)
  5. FredS

    ICS for Linux?

    To be clear, I use 'Bash on Ubuntu for Windows' and can access from the Host machine to my Hyper-Vm using that IP.
  6. FredS

    ICS for Linux?

    If your Host machine has a single NIC then you may need to get the IP from the Hyper-V virtual Ethernet adapter to reach your machine. If that is the case the bottom panel has three tabs, the networking tab will have the VMs IP after it has been started.
  7. Believe I did that years ago.. not sure if via email or Google..
  8. Think I tried that before and moving existing documentation failed. Just tried again and same.. It does appear to work when I add new documentation, however there are these caveats:
  9. This breaks at times, has for different releases depending on code and debugging for a long time.
  10. Nothing, but in the past too many directives where bad for the health of Error/Code insight.. sure that's much improved now ๐Ÿ™‚
  11. function CompleteEval(const Values: array of Boolean): Boolean;
  12. It won't work without DDevExtensions in a plain IDE, new feature I guess ๐Ÿ™‚
  13. I know DDevExtensions has it with a double-click by adding a hidden registry key..
  14. Start with this, I pulled that out of more complex code but haven't tested it: //MMWIN:MEMBERSCOPY unit _MM_Copy_Buffer_; interface type TThreadHelper = class helper for TThread public /// <summary> /// Will handle all Wait Key, Mouse and Message Inputs, also calls Synchronize as needed. /// </summary> function StartAsync: TWaitResult; end; implementation function TThreadHelper.StartAsync: TWaitResult; var LHandles: TArray<THandle>; Rsl : Cardinal; const cObjects = 2; begin Assert(TThread.CurrentThread.ThreadID = MainThreadID, 'Must be called from Main Thread'); Self.FreeOnTerminate := False; SetLength(LHandles, cObjects); LHandles[0] := Self.Handle; LHandles[1] := SyncEvent; self.Start(); try repeat Rsl := MsgWaitForMultipleObjects(cObjects, LHandles[0], False, INFINITE, QS_ALLINPUT); case Rsl of WAIT_FAILED: Exit(TWaitResult.wrError); WAIT_TIMEOUT: Exit(TWaitResult.wrTimeOut); WAIT_ABANDONED_0 .. WAIT_ABANDONED_0 + cObjects: Exit(TWaitResult.wrAbandoned); WAIT_OBJECT_0 : Result := TWaitResult.wrSignaled; WAIT_OBJECT_0 + 1: CheckSynchronize(0); WAIT_OBJECT_0 + cObjects: Application.ProcessMessages; end; until (Rsl = 0); finally self.Free; end; end; end.
  15. Either write a method which uses MsgWaitForMultipleObjects and also calls synchronize `WaitAsync` or something like that, or just use a short timeout for `TTask.Wait` and call `Application.ProcessMessages` while not terminated..
  16. FredS

    System.GetMemory returning NIL

    @Mahdi Safsafi Might be simpler to just redirect System.GetMemory instead of the memory manager's GetMem which is called by other methods doing a reOutOfMemory check themselves.
  17. FredS

    New annoying IDE malfunction

    Unfortunately this means that in the next delivery no one will tell me if my shirt, a critical part of the outfit, has changed functionality ๐Ÿ™‚
  18. FredS

    Update: C++Builder and Platforms Support

    That should be doable by August 1st.. /s
  19. FredS

    Is quality.embarcadero.com down?

    I believe that falls under the 'new feature' category ๐Ÿ™‚ Can connect, but have a valid cookie. I've had issues before with the login server they use/share..
  20. FredS

    Patch 2 for RAD Studio 10.4 now available

    One has to appreciate that the DOS installation of 'Patch 2' truly 'empowers application developers' ๐Ÿ™‚ All that's missing is deployment via floppy disks..
  21. FredS

    Patch 2 for RAD Studio 10.4 now available

    How could they know you where going to do that ๐Ÿ™‚ Sorry, couldn't help myself..
  22. FredS

    Are we just "Cash Cows"?

    Developing Delphi with Delphi was a reasonably good guarantee of that..
  23. FredS

    Are we just "Cash Cows"?

    Could be, certainly there was a window of opportunity with the Community Edition.. however that dimmed quickly as bug reports spiked and waited.. still waiting..
  24. Pretty simple answer on SO `{.*?}`.. looks good to me unless Lazy and Greedy become a Feature: https://quality.embarcadero.com/browse/RSP-15402
ร—