Jump to content
limelect

Drag and DPR

Recommended Posts

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 by limelect

Share this post


Link to post

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

@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 by limelect

Share this post


Link to post
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

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

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 by limelect

Share this post


Link to post
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
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

@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 by limelect

Share this post


Link to post
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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×