dummzeuch 1505 Posted February 15, 2019 I want to get a list of interfaces registered in a Delphi 2007 application (with code from within that application) in order to check for possible duplicate GUIDs. There is a solution on GitHub which uses the System.RTTI unit, but unfortunately that unit is not available in Delphi 2007. Is it possible to do without? I also asked on StackOverflow: https://stackoverflow.com/q/54710667/49925 Share this post Link to post
David Heffernan 2345 Posted February 15, 2019 The curse of cross posting ...... Share this post Link to post
dummzeuch 1505 Posted February 15, 2019 2 hours ago, David Heffernan said: The curse of cross posting ...... Too many of my questions on SO have been closed for me to rely solely on SO any more. Share this post Link to post
Rudy Velthuis 91 Posted February 15, 2019 3 hours ago, David Heffernan said: The curse of cross posting ...... Off-topic, but actually, that is multi-posting. Cross-posting is posting to several newgroups on the same server, with one single post (i.e. the single post has multiple targets and a reply in one group will usually appear in the other groups too, unless the reply was specifically set up not to do that). 2 Share this post Link to post
David Heffernan 2345 Posted February 15, 2019 3 hours ago, Rudy Velthuis said: Off-topic, but actually, that is multi-posting. Cross-posting is posting to several newgroups on the same server, with one single post (i.e. the single post has multiple targets and a reply in one group will usually appear in the other groups too, unless the reply was specifically set up not to do that). There are no newsgroups here. Share this post Link to post
David Heffernan 2345 Posted February 15, 2019 5 hours ago, dummzeuch said: Too many of my questions on SO have been closed for me to rely solely on SO any more. What about the people who you are asking for help? I would post on one site first, and if you don't get a good response, then post elsewhere, with link to the first place. 2 Share this post Link to post
Mahdi Safsafi 225 Posted February 15, 2019 I believe there is no way without RTTI. The only things you can do is to recompile your code with a version of Delphi that has RTTI support. Or you might need to write a simple script that generates a unique GUID table and then using regular-expression you can find all your defined GUID and replace them with the new one. Share this post Link to post
A.M. Hoornweg 144 Posted February 25, 2019 I use a freeware tool called "agent ransack" which is brilliant for quickly finding strings in whole directory trees. It also has a regular expressions option and it is lightning fast. What's especially nice about Agent Ransack is that you can drag&drop the search results onto an editor like Notepad++ and then perform a bulk search&replace inside all opened files. Share this post Link to post
Rudy Velthuis 91 Posted March 1, 2019 (edited) On 2/15/2019 at 10:47 PM, David Heffernan said: There are no newsgroups here. Different posts were posted to different kinds of media (here, S.O.) on different servers. That is not cross-posting. Edited March 1, 2019 by Rudy Velthuis Share this post Link to post