limelect 48 Posted May 14 (edited) I thought it was me but it was NOT 2 computers on one Delphi 10..2.3 Windows 7 the other windows 10 and Delphi 11 on both the same problem 1. while changing component sources DPR changes to requires>>rrequires contains>>ocontains end>>d 2 drag does not work in IDE it works only under explorer since both problems are on different computers and IDE it is Delphi!!!! Edited May 14 by limelect Share this post Link to post
Anders Melander 1784 Posted May 14 I can't really see what these two issues has to do with each other and you are not helping anyone by raising both in the same post. 1. Looks like a cr/lf problem; Check that the file only uses cr/lf line termination and not just lf. 2. What do you mean by "does not work in IDE"? What exactly are you doing? 23 minutes ago, limelect said: since both problems are on different computers and IDE it is Delphi!!!! There's another thing common to both problems... Share this post Link to post
limelect 48 Posted May 14 (edited) @Anders Melanderdifferent? Well as both problems appear in different computers and diffrent Delphi I hope you understand that there is a Delphi inherit problem 2. drag and drop were tested on The-Drag-and-Drop-Component-Suite-for-Delphi-master This also does not work on any of my computers and different Delphi except as an exe. What IDE you ask? it is Delphi run as debug. 1. as for that I cannot explain more than what I wrote. both problems relate to Delphi. Unless someone finds the same behavior (this is what I hoped for) I doubt that I can be helped. And finally, 2 million users??? and no one has the same behavior? only me? IDE stands for Integrated Development Environment Edited May 14 by limelect Share this post Link to post
Remy Lebeau 1397 Posted May 14 6 minutes ago, limelect said: 2. drag and drop were tested on The-Drag-and-Drop-Component-Suite-for-Delphi-master This also does not work on any of my computers and different Delphi except as an exe. What does that have to do with the IDE? Those components are for dragging things at runtime only. What is the actual PROBLEM you are having? WHAT are you trying to drag, FROM where, TO where? You are not explaining yourself very well. Share this post Link to post
Anders Melander 1784 Posted May 14 The Drag and Drop Component Suite disables the IDE as a drop target during debug. It does this to prevent the deadlock that would occur if you dragged something over the IDE while you were debugging. You can disable this behavior by commenting these lines in DropSource.pas: initialization // Disable Delphi as a drop target so we won't deadlock if we accidentally // drag over the IDE while debugging. if (DebugHook <> 0) then DisableDelphiDropTargets; Did you check the line endings? Share this post Link to post
limelect 48 Posted May 14 @Remy Lebeau Oops only at run time? I did not know only that I had worked with them for ages So how does D6 work under the debugger? Am I wrong? Share this post Link to post
Anders Melander 1784 Posted May 14 I for one can't understand what you are saying. Share this post Link to post
limelect 48 Posted May 14 (edited) what I said was that on d6 as I recall I debugged @Anders Melander I got your DisableDelphiDropTargets; .It might be that changed with the Delphi version which I did not know experience as for number 2 in my list did anyone experience that? Edited May 14 by limelect Share this post Link to post
Anders Melander 1784 Posted May 14 11 minutes ago, limelect said: It might be that changed with the Delphi version No; Something else has changed. Anyway, it's still unclear what exactly you are doing and it's hard to overcome the language barrier when you aren't answering the questions. If English is a problem then use Google translate. a) Please explain, step-by-step, what you are doing. b) Did you check the line endings? Share this post Link to post
Kas Ob. 121 Posted May 14 2 hours ago, limelect said: 1. while changing component sources DPR changes to requires>>rrequires contains>>ocontains end>>d I know this very same behaviour for many years, the chance to happen is great when adding/removing package or projects from projects group using Project Manager using drag and drop then removing, there other cases too which can't say for sure but renaming some shared unit between packages or projects while these projects are grouped might cause this corruption, confirmed on D2010 and XE8. And to confirm this has nothing to do with line endings or anything on user part editing the dpr, the projects is saved and not even opened in the IDE, the project is compiling fine, then something happen and the compiler point to "rrequires" in dpr ??, undo there on that dpr doesn't work too, IDE had broken parser there, even when it should not edit that specific dpr ad rewrite it in full with broken few keywords. Share this post Link to post
Anders Melander 1784 Posted May 14 https://www.google.com/search?q=delphi+"rrequires" As far as I can tell the only identified cause seems to be line endings. Of course that doesn't rule out that there might be other causes but until we get an answer from OP all we can do is guess. Share this post Link to post
limelect 48 Posted May 15 (edited) @Kas Ob. @Anders Melander As what happens on the DPR I just edit (fix) the DPR and compile. I moved from 7 to 10 where it started happening It seems I am not the only one. Where is Embarcadero then? P.S I have been with Delphi since #1 Edited May 15 by limelect Share this post Link to post
David Heffernan 2345 Posted May 15 3 hours ago, limelect said: @Kas Ob. @Anders Melander As what happens on the DPR I just edit (fix) the DPR and compile. I moved from 7 to 10 where it started happening It seems I am not the only one. Where is Embarcadero then? P.S I have been with Delphi since #1 I honestly can't make any sense of this text. Is it just me? Share this post Link to post
Lajos Juhász 293 Posted May 15 22 minutes ago, David Heffernan said: I honestly can't make any sense of this text. Is it just me? I cannot, fortunately copilot is ready to help us out. Here is the response: It sounds like the author is discussing their experience with Delphi, a programming language and software development environment. Here's a breakdown of what they're saying: • "As what happens on the DPR I just edit (fix) the DPR and compile.": DPR files are Delphi Project Files that contain source code. The author seems to be saying that they usually edit or fix the code in the DPR file and then compile ithttps://stackoverflow.com/questions/13734278/opening-delphi-project-files-any-downside-of-opening-dpr-instead-of-existing-d. • "I moved from 7 to 10 where it started happening": This likely refers to the author upgrading from Delphi version 7 to Delphi 10. They've encountered some issues since this upgradehttps://stackoverflow.com/questions/13734278/opening-delphi-project-files-any-downside-of-opening-dpr-instead-of-existing-d. • "It seems I am not the only one.": This suggests that other users have experienced similar problems after upgrading their Delphi versionhttps://en.delphipraxis.net/topic/11566-drag-and-dpr/. • "Where is Embarcadero then?": Embarcadero is the company that develops Delphi. The author is probably asking for support or an official response from Embarcadero regarding the issues they're facinghttps://www.embarcadero.com/Support/. • "P.S I have been with Delphi since #1": The author mentions they have been using Delphi since its first version, indicating they have a long history with the software. If you're experiencing similar issues, it might be helpful to reach out to Embarcadero's customer support or check their support forums for assistancehttps://www.embarcadero.com/Support/. Additionally, it's always a good practice to back up your projects before upgrading to a new version to prevent any potential loss of work. Share this post Link to post
Brandon Staggs 278 Posted May 15 3 hours ago, Lajos Juhász said: I cannot, fortunately copilot is ready to help us out. Here is the response: That's actually quite impressive. Share this post Link to post
limelect 48 Posted May 16 On 5/15/2024 at 1:37 PM, David Heffernan said: I honestly can't make any sense of this text. Is it just me? David there are 2 issues 1. The DPR changes while editing source components see https://www.google.com/search?q=delphi+"rrequires" as shown above 2. I cannot debug drag and drop while debugging a project. Share this post Link to post