

limelect
Members-
Content Count
913 -
Joined
-
Last visited
-
Days Won
1
Everything posted by limelect
-
This small important detail was never mentioned anywhere thanks
-
I just found out that Delphi IDE tools export to Python does not put Application.Free() So it is Embarcadero's problem Try it
-
Thanks Ok now I see other examples MainForm.Destroy() At least I have a learning tool P,S https://limelect.com/downloads/python-formater/ can help someone where the formatting is done with autopep8 or Black Why not incorporate this in your software? very handy
-
Ok but why in Microsoft Visual Studio 2019 it closes???? This is a demo taken from Delphi not mine It works thanks some applications close without Application.Free()
-
Python freezes when running a certain script
limelect replied to djxandytche's topic in Python4Delphi
I do not know if this helps but see In my case, the behavior changed using Microsoft Visual Studio 2019 for Python -
What version of Delphi has the least amount of bugs throughout history?
limelect replied to Al T's topic in Delphi IDE and APIs
7 and 10.2 -
See my free application for long names I hope it will answer your question https://limelect.com/downloads/find-long-names/
-
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!!!!
-
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.
-
@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
-
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?
-
@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?
-
@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
-
Unlocker by Cedrick Collomb is an excellent program It unlocks a file by releasing the unlock situation without closing the process The program DOES NOT CLOSE (from lock situation) THE PROCESS ONLY THE FILE most other sources in C and Delphi close the process (exe) which I do not want. What I achieved I know if a file is locked - detect all locked files in a folder I know the process name (which I do not want to kill) that locks the file I use RmStartSession RmRegisterResources RmGetList for process name detection What I want is to release the link between a process and the locked file All sources in C and Delphi I have seen, close the process This is the easy way of doing things. This is not what I want. If you can help thanks P.S There is a source in Delphi that does not work
-
OK guys thanks I did succeed BUT with some tricks Now how can I find the handle of a file,(locked file), not a process All CREATE do not help some give me errors others -1 I do not want to go through all the process or handles it take time
-
Does anyone know the mechanism behind the lock of a file? What happens between the process and the file? I do not know. Any theory? I could not find
-
I have it I need software not applications as I know them all I need something very specific about the link (locked file ) between the process and the file
-
P.S To us professionals clear the lock condition is important as we know what we are doing 50 years in the business !!!!!!!!!!!!!!!! actually lost count
-
FD and SQLite But this is not important as it is one example of many. I have to close programs often as they lock files needed to change I use the above program to do that so I can keep working on a program locking a file The above program Unlocker by Cedrick Collomb is excellent but is not that friendly so I wanted to do my own P.S/ some time the lock condition stay even if you close the application associated wit the file
-
@FPiette P.S. How many times you had to close the IDE to release the LOCKED database? I had to do this many times while in development. This is a small example.
-
@FPiette It is all known but still for the answer? any idea? I cannot find the handle of a file, not a process then maybe I will be able to fix my source
-
D10.2.3 window 7 I have had this problem for many years I wonder if there is a solution The program does not break on message in the IDE However, running the execution it works. P.S I see the + sign on the form when dragging a file wile in the IDE Drag and Drop do not work either I saw David Heffernan solution, but it did not help. https://stackoverflow.com/questions/14244325/drag-and-drop-files-to-delphi-form-not-working Any help? . unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, ProCtrls, Vcl.StdCtrls; type TForm1 = class(TForm) procedure FormDestroy(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declarations } procedure WMDropFiles(var Msg: TWMDropFiles); message WM_DROPFILES; public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} uses ShellAPI; procedure TForm1.WMDropFiles(var Msg: TWMDropFiles); begin inherited; MessageDlg('dssdfsd', mtWarning, [mbOK], 0);<<<<<<<<<<<< does not break end; procedure TForm1.FormDestroy(Sender: TObject); begin DragAcceptFiles(Self.Handle, False); inherited; end; procedure TForm1.FormCreate(Sender: TObject); begin inherited; DragAcceptFiles(Self.Handle, True); end; end.
-
I just found that drag-drop within a Delphi project will in the IDE works
-
Thanks I know I have a huge problem here
-
No they all work with this Windows 7. With no problems All I say is that Drag and Drop does not work under above conditions in the IDE. Neither the message problem work on D7 which mean that there is a System problem interacted with Delphi IDE