Jump to content

FPiette

Members
  • Content Count

    1120
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by FPiette

  1. I'm pretty sure you are wrong and that it is not specified in languages.
  2. FPiette

    New install

    You are using the wrong sample. If you want encrypted mail, use with OverbyteIcsSslMailSnd.dproj.
  3. FPiette

    Delphi profiler

    When I do that, the debugger always stops at the same place: ntdll.RtlUserThreadStart. And the call stack is empty!
  4. FPiette

    Delphi profiler

    Currently trying omniXML that comes with Delphi 11. If unsuccessful, I will give a try to XMLLite. Thanks.
  5. FPiette

    New install

    We cannot help you is you don't even mention the errors you get. Does it works with the sample applications delivered in ICS distribution? You should really start with those samples to verify your setup is OK.
  6. FPiette

    Profiler for Delphi

    This stops at Delphi 10.3. I'm using Delphi 11.
  7. FPiette

    Profiler for Delphi

    Yes it is. Clearly mentioned by the current maintainer. @Primož Gabrijelčič is a highly skilled Delphi developer, that's why I'm interested in GpProfile2017 and I ask here for feedback from actual user of GpProfile2017.
  8. FPiette

    Profiler for Delphi

    That's where I discovered GpProfiler2017.
  9. FPiette

    Delphi profiler

    GPX file have very simple structure but there are tens of thousands of nodes (Example of GPX file). Before changing my code, I would profile it to know if the slowness comes from the XML parser our from my own code which is fully class oriented with generic TObjectList. I suspect this is much slower in my case compared to records and pre-allocated dynamic arrays.
  10. FPiette

    Delphi profiler

    This link is dead.
  11. FPiette

    calculete time in delphi

    Your code compute the elapsed time for a given calculation, not the time your application is running. Which one do you need? If what you need is the time elapsed since the start of your program, use the main form OnCreate event to record the starting time and a timer to periodically compute the elapsed time (Just the difference between current time and recorded start time) and display it on screen.
  12. FPiette

    Algorythms of hiding the part of image

    Find a face in an image is not a trivial task. Blurring the face once found is easy. There are libraries for both tasks, google is you friend.
  13. FPiette

    calculete time in delphi

    Is it your homework? It would be better that you show the code you already wrote so that we can help you with it. If we give you the solution - which is quite trivial - you won't learn anything.
  14. FPiette

    Encrypting string

    There are a huge number of encryption methods. The best depends on the context you say nothing about. As a start, see this article which is really a very basic encryption method. For a more advanced solution, look for example at this source code on github.
  15. FPiette

    Extract string between two number delphi

    One possible solution: procedure TForm1.Button1Click(Sender: TObject); const SrcString : String = '2090Lj32J5Y6Ni6Q2Rt8c538u1X227L340Q8N1...ce4A3z6l96S5v7LZ3OhSVoB538k7wPTn13E2w2D0h104fJ7HP09xo7W71J1o02c088922A3t420697F5431XP91C6JF9w1Ss0Tuk5S669207816gp57pW193BPWL27AZ052nr2S714...30'; Delim : String = '...'; var S : array [1..3] of String; I, J, K : Integer; begin J := 1; I := Low(S); while I <= High(S) do begin K := Pos(Delim, SrcString, J); if K <= 0 then begin S[I] := Copy(SrcString, J); while I < High(S) do begin Inc(I); S[I] := ''; end; break; end; S[I] := Copy(SrcString, J, K - J); J := K + Length(Delim); Inc(I); end; for I := Low(S) to High(S) do Memo1.Lines.Add(S[I]); end;
  16. You can do that by using FFMPEG. Your delphi program run FFMPEG executable, passing the argument for output file format and input file format. Select input thru a pipe that your Delphi program will create a stuff with the images. Before you ask : No I have no code to share.
  17. FPiette

    Strange stack overflow message

    I would suggest this: 1) Close the IDE. 2) Make sure you have the source code and DCU files in only one place on all your hard drives. (I you need to keep previous version as backup, move it to a zip file). Later, when the issue is sorted out, of course you may have several copies in different directories not accessible by the IDE. 3) Start the IDE and load the project having the issue, only that project, not a group of projects. 4) From project manager, right click on the project node and click "clean". 5) From project manager, make sure "debug" build is active and right click on the project node and click "Build". 6) In the source code, put a break point on the "begin" of the buttonclick procedure for the button. 7) In the source code, put a break point on the "begin" of the procedure/function where the stack overflow occurs. 8 ) Run the debugger (F9). Enter data in the user interface and click that famous button. 9) Your first break point should be hit 10) Run step by step using F7 (F8 to not enter RTL function/procedure). 11) See if all lines execute as you expect. Take special attention to recursive call to one of your function/procedure (That is call one before it has exited). Recursive call without having a mean to break the recursion is what you are looking for.
  18. FPiette

    Algorythms of hiding the part of image

    I guess you mean recognizable as a person but not as an individual. Is your problem find the face automatically or is you problem blurring that face or both?
  19. FPiette

    Algorythms of hiding the part of image

    Could give an example?
  20. FPiette

    Overbyte.eu down - can't download ICS

    That is on another system located in UK. overbyte.eu is located in Belgium. SVN system is online as far as I see from here right now.
  21. FPiette

    Overbyte.eu down - can't download ICS

    @PolywickStudio Backup is done, you can access the website again.
  22. FPiette

    Overbyte.eu down - can't download ICS

    Please be patient. Sunday morning is backup time. Retry in 15 minutes.
  23. FPiette

    Delphi 11, migrate or wait

    Create a simple, reproducible example demonstrating the issue and publish it on https://quality.embarcadero.com because here, there is no chance to have it fixed if ever it is a bug.
  24. FPiette

    Delphi 11, migrate or wait

    Probably the debugger can't call a getter/setter function.
  25. FPiette

    Delphi 11, migrate or wait

    That is why I always STRONGLY recommend to buy the source code with any third party library/component you use and to ONLY use the source code and not a single pre-built item. Rebuild what you need for your application, add a project for that purpose to your application project group. When a new Delphi release comes, most of the time a simple recompile is enough. This include the component package projects. The most common change to the source code is to add a simple conditional compilation related to compiler or runtime version. When you have full source code, you don't depend on component vendor when a new Delphi is released.
×