Jump to content

TurboMagic

Members
  • Content Count

    235
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by TurboMagic

  1. Ok, I think I see what you're after. In case of the peek one would have to use the assignment operator then (if the type is a managed one) in order to increase the reference counter. Am I right? But how to find out whether the type is managed?
  2. Why would those have to be cleared? One shoukdn't be able to read those out and I don't remember but if the buffer has to free any instances contained in it when the buffer is freed it will only free the instances still in the buffer.
  3. Since I didn't hear from him with a ull request or any other "delivery" yet I guess he got stuck translating the comments...
  4. Ok, I see the FAQ pages but in the wiki documentation for the various components the SSL ones are usually read = nonexisting links. My earlier question was what we can do to help generate the Wiki sceleton as automatically as possible. About the help you started to create: is this CHM based and is the "source" available for contribution somewhere?
  5. Uwe Raabe is already working on this 😉 But others than MVPs and the usual folks could contribiute as well... Often such easy things or even parts of those would help the community!
  6. Oh, another remark: If somebody would "donnate"! English translations for CircularBuffer I would submit the updated version to GetIt!
  7. I can understand the request to do so. I have already written in the project description that this would be a task one could/should do. As I'm busy enough with my other open source project (DEC - Delphi Encryption Compendium) I will accept such translations and update the code with them but won't invest the time in those at this time. As user Dummzeuch (a German by the way! ;-) ) stated: maybe somebody could contribute them. I guess there are enough Delphi developers out there who didn't contribute code etc. yet but only consumed so far what others contributed. That could be a start to give something back. As we're talking about contributing and my next topic is related to F. Piette: is there an easy way to write a Delphi source code parser (maybe using Delphi AST which I only know by name) to parse the source of ICS and generate output in the Wikipedia syntax so that for the still undocumented SSL ICS code the Wiki sceleton could be generated at least as a starting point to finally get documentation started? While I value the library and its many demos, a written documentation about the individual properties and methods is also worth quite something!
  8. Meanwhile the necessary TChart files have been "published" via some download link in the QP report RSP-28780.
  9. Did you already see the new comments to this one? https://quality.embarcadero.com/browse/RSP-28780 They indicate that TChart works in release configuration!
  10. TurboMagic

    Problem with Delphi RIO 10.3.3 and Google API Level 29

    Hello, what please does "the app crashes" mean? Is there any failure message? If yes , which? Can you run monitor.bat from your Android SDK? With that you can see the logcat log of your device. Run the app then until it crashes and look at the log. Maybe there are helpful messages in it. Have you looked into QP for any reports regarding this? Does one exist? The app that you tried, was this created new in 10.3.3 or is it updated from some earlier version? If the latter it might help to delete AndroidManifestTemplate and let the IDE regenerate it. Then change targetSDKVersion. Maybe there were other changes in it as well. Does the crash happen with a blank FMX app created in 10.3.3 as well? Regards TurboMagic
  11. TurboMagic

    Loading shared objects on Android

    If somebody likes to have the shared objects used by the above demo unzip this attachment here into the project folder. FFMultiDemoLibraries.zip
  12. TurboMagic

    Loading shared objects on Android

    Ok, I got the libraries loaded, at least in a 32 bit version, which is sufficient at the moment. But now I'm stuck on a permission error where I don't know what kind of permission is meant. The problem is calling this function: ret := avcodec_open2(c, codec, @CodecSetup.OptionsDictionary); in UBitmaps2VideoM's construktor. It always returns -13 which means permission error, but I don't know which kind of permission is meant. I already tried two different output paths and had added Android 8 style external write permission requesting, but to no avail. The paths tried are: GetSharedDownloadsPath GetDocumentsPath Has anybody any clue? FFMPEGMultiDemo.zip
  13. TurboMagic

    Loading shared objects on Android

    The shared objects I have are for armeabi-v7a afaik. For a first test a 32 bit build of the app would be sufficient. But would this mean I need a 2nd set of .so files for a 64 bit version? The files we have are from here: https://github.com/PassByYou888/FFMPEG-Header/tree/master/BinaryLibrary
  14. For some research we need to create an Android app with a precisely timed output of colored rectangles/bars. Unfortunately TTimer has a too big jitter. I need a low interval (if possible < 10ms) and unless my code in the timer event runs for longer than the interval the timer events should come precisely and not sometimes after 10ms (given a 10ms interval is set) and sometimes after 11 or 12 ms).
  15. TurboMagic

    Precisely timed display output on Android

    For us it is sufficient to swap color of a rectangle. Today we tried something with the bitmap of a TImage which has a clear method where you can specify the new color. That might be sufficient, if the timer would be more jitter free. Thus we call it from a secondary thread as TBitmap is thread-safe nowadays. Question is how to "time" such a thread on Android precisely enough? Do busy waiting with TStopWatch until the necessary time is elapsed? Or is there something better?
  16. TurboMagic

    Precisely timed display output on Android

    Thanks for this reply. In German Delphipraxis somebody posted this link: https://developer.android.com/games/develop/gameloops But I couldn't find any Delphi implementation yet. It seems to integrate deep into OpenGL or Vulkan.
  17. TurboMagic

    Does debugger handle WITH better in latest versions, 10.3+?

    Better get rid of with in your code where possible... Nick Hodges back then even wanted to deprecate with so I wouldn't expect EMBT to invest much time in improving the debugger in this area. I guess there are things waiting to be done with more worth for us developers...
  18. Hello, I'm using the TChart wich comes with 10.3.3 out of the box. I managed to add a 2nd right hand vertical axis via the TChart design editor, but I can neither there nor in code set min and max, at least they will always be ignored and min will always be 0 and max 64000 or 65535. I need -4090 and +4095 as min and max. Here is the variant where I tried to change them in code: ChartCurrentValues.Axes.Right.SubAxes[0].AutomaticMaximum := false; ChartCurrentValues.Axes.Right.SubAxes[0].AutomaticMinimum := false; ChartCurrentValues.Axes.Right.SubAxes[0].Automatic := false; ChartCurrentValues.Axes.Right.SubAxes[0].SetMinMax(-4096, 4096); ChartCurrentValues.Series[cMySeries1].CustomVertAxis := ChartCurrentValues.Axes.Right.SubAxes[0]; ChartCurrentValues.Series[cMySeries2].CustomVertAxis := ChartCurrentValues.Axes.Right.SubAxes[0];
  19. TurboMagic

    Double entry on taskbar

    Hello, I'm using D10.3.2 and this time I do something looking a bit strange. It works except for one thing. I want to include sort of 2 applications (a main one and a small one sharing some code and the language ressource dlls of the main one). For this in the DPR I check if a certain command line parameter has been passed. If not the main app will be started otherwise the small one. Here's some code: So where does the 2nd taskbar icon in the one case come from and how to get rid of it? Regards TurboMagic
  20. Hello, we have a Tokyo based Win32 project where ReportMemoryLeaksOnShutdown := true; as first line in the dpr does not lead to any leaks being reported on shutdown of the program, even if we force a leak in FormCLose of the main form (we can prove that the lines are executed there. In a small test application memory leak reporting works fine. What can this be? In the same project something has gone wrong with FastMM4 anyway. Small rpointer of records (size 12 bytes) do consume over 1K RAM each! Any clue what this could be? If extracted into the small test project it doesn't consume too much RAM. Same data type, same loop etc. Best regards TurboMagic
  21. Thanks for that hint, we'll do that later. First we try to run this project on a different machine to see if it happens there as well.
  22. Neither ExitProcess nor TerminateProcess could be found in this project.
  23. Thanks for this tip. Result of that in the dpr is: false.
  24. I'll check this, but I doubt it as it is a VCL application. How can I check this? {$AppType CONSOLE}?
  25. I would also expect that they are reported to me and in other big applications I have they actually are, but not in this one and reducing this might not be so easy. @Attila: what in my finalization sections could trigger a silend exit process? Do y<ou have any examples so I know what to look for?
×