Jump to content

limelect

Members
  • Content Count

    835
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by limelect

  1. limelect

    Line number of source code at runtime

    @Fr0sT.Brutalsorry you are correct but Delphi search did not find it now it does
  2. limelect

    Line number of source code at runtime

    @Fr0sT.Brutal No Ice.Utils.GetCurrentAddress such function in your source now it does
  3. limelect

    Hwid based lock

    Fast search for Delphi hwid https://theroadtodelphi.com/2010/12/02/generating-a-unique-hardware-id-using-delphi-and-the-wmi/
  4. This is what I did with Delphi for youtube-dl, ffmpeg https://limelect.com/downloads/youtube_downloader_shell/ is this what you are trying to achieve? Myne is only window and VCL
  5. limelect

    Out Of memory

    My application has an out-of-memory error On the break the source wants FireDAC.DatS.pas which I do not have Any idea how to solve this? if possible P.S after the out of memory if i keep going it is ok The part that does it is ProjectsFDTable.Filtered := false; ProjectsFDTable.FilterOptions := [foCaseInsensitive]; case RadioGroup2.ItemIndex of 0: begin //'%a%' ProjectsFDTable.Filter := {QuotedStr} 'ProjectrealName LIKE ' + QuotedStr('%' + Edit6.Text + '%'); <<< end; 1: begin end; 2: begin ProjectsFDTable.Filter := {QuotedStr} 'Category LIKE ' + QuotedStr('%' + Edit6.Text + '%'); end; end; ProjectsFDTable.Filtered := True; However, I am not sure it is only here !!! but this is where i could trace the out of memory
  6. limelect

    Out Of memory

    Thanks, guys I hope it is fixed I changed my table to Fetchoptions all i hop it fixed it and the search is faster
  7. limelect

    Out Of memory

    @Clément the only thing I see on FDTable is on FetchOption.mode is already fmOnDemand Let me clarify the point. Memory happens ONCE. Then everything is ok. If there was a real memory problem it should have been all the time want it? I am filtering the database upon writing a search text Each char one enter does a new filter. To be exact on >>>> procedure TForm1.Edit6Change(Sender: TObject); (my database file 1.55GB)
  8. limelect

    Out Of memory

    @Lajos Juhász first can you clarufy. second, if you are right once I get the memory msg and I dismis the message I do NOT get any more messages. The memory message is ONLY ONCE !!!
  9. trying to compile d10.2.3 missing components
  10. limelect

    Converting a very long text to concatenated strings?

    Will my free tool will help you? https://limelect.com/downloads/add-characters-to-text-lines-on-large-scale/
  11. limelect

    sending text between applications (10)

    It did work without any glitch Communicate between 3 computers with Delphi programs I admit it was a long time ago
  12. limelect

    sending text between applications (10)

    To All why complicate things just mailslot component
  13. limelect

    sending text between applications (10)

    Just use mailslot component Great use between Delphi applications I used it in a large project to send messages and data between application
  14. limelect

    Leak problem

    D10.2.3 using FastMM4 I have the same problem as https://stackoverflow.com/questions/71178572/memory-leak-of-tidcriticalsection-create-in-idthreadsafe-pas Tried this suggestion https://www.viathinksoft.com/codelib/144 on create Any Idea? P.S I tried FREE_ON_FINAL as Remy suggested but I am not sure I compile/Build Indy with my project
  15. limelect

    Leak problem

    @Remy Lebeau well I decided not to do any alteration to Delphi and thanks again
  16. limelect

    TMemo instead of TLabel

    If I understand your need add a flag to GetDescription(FLAG: boolean) so your function will know where it came from Memo.lines.add(getDescription(true)) or label.caption:=getdescription(false)
  17. limelect

    Leak problem

    @Remy Lebeau I am with D10.2.3. I run my application on the IDE and see afterward the Indy DCU that before they weren't there so I guess my software uses the compiled INDY. (on the source Delphi directory). I did not remove INDY but I am sure I compiled with INDY DCU I made. Well not to bother anymore I will leave the problem as it is. It does not affect my program. OUT OF CURIOSITY it is this program https://limelect.com/downloads/document-projects/ and thanks again
  18. limelect

    Leak problem

    @Remy Lebeau I took your suggestion and BUILD indy 10 with {$DEFINE FREE_ON_FINAL} in the include Made sure I did compile (build) as I have all DCU in the indy directory And it did not help I am trying all kinds of solution that why
  19. limelect

    I solved my problem but

    I solved my problem but i want to understand Using this function function GetUpDate(Link: string): string; var S: string; IdHTTP: TIdHTTP; begin IdHTTP := TIdHTTP.Create(nil);//Form1); try S := IdHTTP.Get(Link); result := S; except ShowMessage('Could not get VERSION information'); end; IdHTTP.Free; end; using IdHTTP := TIdHTTP.Create(nil) <<<< give me great amount of LEAKS, using IdHTTP := TIdHTTP.Create(Form1); <<< it is OK WHY thanks
  20. limelect

    Leak problem

    @rvk The leak is exactly in the first link Using fastmm4 A solution is on the second
  21. limelect

    I solved my problem but

    Going to put a new leak problem
  22. limelect

    I solved my problem but

    @David Heffernan This is the minimal. Only that I have added FastMM4 to DPR
  23. limelect

    I solved my problem but

    @Virgo may I should change my debugger because it does free. So simple code try it
  24. limelect

    I solved my problem but

    @Dalija Prasnikar Out of curiosity I tried your suggestion and it worked too.
  25. limelect

    I solved my problem but

    Sorry to be misunderstood But in the above this is my question using IdHTTP := TIdHTTP.Create(nil) <<<< give me great amount of LEAKS, using IdHTTP := TIdHTTP.Create(Form1); <<< it is OK Ver simple question
×