Jump to content

Ian Branch

Members
  • Content Count

    1252
  • Joined

  • Last visited

  • Days Won

    3

Ian Branch last won the day on May 1 2023

Ian Branch had the most liked content!

Community Reputation

119 Excellent

1 Follower

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. Ian Branch

    Embed line number at design time??

    Yup. Works just as well. Tks.
  2. Ian Branch

    Embed line number at design time??

    Noted. Tks.
  3. Ian Branch

    Embed line number at design time??

    Tks. Exactly what I needed/wanted. I made a minor change as I am using D12: /// <summary> /// Retrieves the current line number. /// </summary> /// <remarks> /// Requires the JCLDebug unit. /// </remarks> /// <returns>The line number of the current position.</returns> function GetCurrentLineNumber: Integer; begin // var ModInfo := GetLocationInfo(ReturnAddress); // Result := ModInfo.LineNumber; // end; LineByLevel - Whilst I could use it in my code by adding JCLDebug, I wanted to have it as a function in my library. If I used it from my library I got the line number in the library, not the Apps code. Regards & Tks again, Ian
  4. Ian Branch

    Embed line number at design time??

    I had a look at that previously. I may be missreading its use but it seems that JCLDebug relies on an Exception for something like this to work: function GetCurrentLineNumber: Integer; var ModInfo: TJclLocationInfo; begin ModInfo := GetLocationInfo(ExceptAddr); Result := ModInfo.LineNumber; end;
  5. Hi Team, Delphi 12. Is there a way to embed the current design time code line number into a string so that it can be shown in a message. It needs to reflectthe actual line number, even if the previous code is edited and it's actual number changes. Regards & TIA, Ian
  6. Ian Branch

    Delphi and "Use only memory safe languages"

    Oh how true.....
  7. Ian Branch

    Alternative to VMWare??

    Ahhh. Tks.
  8. Ian Branch

    Alternative to VMWare??

    Tks Brian. Yes, VMWare Workstation Pro. What dictates which alternative you use? Ian
  9. Ian Branch

    Alternative to VMWare??

    Hi Team, With the recent change in ownership of VMWare and the changes that have been wrought to it, I am leary of continuing to use it. What is a suitable alternative? I am using Win 11.
  10. Ian Branch

    D12 Indy install - IndyIPServer error

    Ditto.
  11. Ian Branch

    D12 Indy install - IndyIPServer error

    That is what I used.
  12. Ian Branch

    D12 Indy install - IndyIPServer error

    IndyIPServer290 issue: Deleted it and the issue went away. 😉 It should have been deleted with the Clean up. LivePreview Issue: Answered in 2021 when I had the same issue. I don't use it so it doesn't matter.
  13. Ian Branch

    D12 Indy install - IndyIPServer error

    Hi Team, Win 11, D12.1. I installed the latest Indy10 per the instructions. I noted that the uninstall cmd kept failing due to access level. I manually deinstalled the indicated Indy files. I then installed the 290.groupproj without issue. On restarting D12 I see the following message: I found IndyIPServer.dpk but Delphi doesn't like it. 😞 Do I need this .bpl? If yes, how do I now recreate it to Indy10? I am also seeing this error when I start D12: Regards & TIA, Ian
  14. Ian Branch

    What new features would you like to see in Delphi 13?

    Case on Strings. i.e. case myStringVariable of 'A': do something; 'Test': do something; etc end;
  15. Ian Branch

    What new features would you like to see in Delphi 13?

    Aside from wanting all the existing features/functions working 100% and bug free, I wouldn't mind a construct like this: var a := b := c := d := 0; or similar.
×