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 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Yup. Works just as well. Tks.
-
Noted. Tks.
-
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
-
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;
-
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
-
Delphi and "Use only memory safe languages"
Ian Branch replied to Die Holländer's topic in General Help
Oh how true..... -
Ahhh. Tks.
-
Tks Brian. Yes, VMWare Workstation Pro. What dictates which alternative you use? Ian
-
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.
-
Ditto.
-
That is what I used.
-
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.
-
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
-
What new features would you like to see in Delphi 13?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
Case on Strings. i.e. case myStringVariable of 'A': do something; 'Test': do something; etc end; -
What new features would you like to see in Delphi 13?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
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.