Jump to content

Vandrovnik

Members
  • Content Count

    583
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Vandrovnik


  1. 31 minutes ago, johnnydp said:

    Too bad, every buggy major  release like 12 undoubtley is should have final bug fixing minor or at least big patch, including final patched totally ISO closing release.

    Like Version 11 have such all in one iso  build which does not require to install later any patches.

    There is .iso for 12.2.1.


  2. 7 minutes ago, plillejo said:

    So I wasted a couple of hours again, because of this, wonder globaly how many wasted hours. because this have not been fixed yet!

    "again"? I have a check-list, what to do before, during and after the upgrade. Remove all Parnasus xxx things is there, too 🙂


  3. 1 hour ago, dummzeuch said:

    I hereby take that back: 12.2 Patch1 is not a total catastrophe, but I no longer classify the glitches I am experiencing as minor.

     

    Every few times I want to run the program in the debugger, the IDE freezes with 100% CPU on one core and has to be killed and restarted. That's a major annoyance. And this is a new project which only uses components that come preinstalled with Delphi 12.2 Patch1 and which is not large at all.

     

    I'll stick with Delphi 2007 and 10.x for other projects for now.

    Does it happen even in clean Delphi installation? With my applications, there is no IDE freezing.


  4. 9 hours ago, shun said:

    Hello,

    I am currently considering migrating a project developed with C++Builder. In this project, we are using both third-party and custom components, and I would like to assess their impact on the migration. Could anyone suggest tools or methods to identify these components effectively?

    • C++Builder: Version 5, Enterprise Edition

    Any guidance would be greatly appreciated.

    Thank you.

    For Delphi, I would use "grep" on .dfm files, searching for lines starting with "object" and may be "inherited":

      object ActionList1: TActionList

    From this lines, component type can be extracted. Remove duplicates, may be count occurencies...

    It does not tell from which unit that component comes, but I suppose most of them could be identified.

     

    • Like 1

  5. 9 hours ago, Gord P said:

    I am kind of surprised that being able to VOTE on a request is not a request.  I thought I came across a post where someone said they put it in as a feature request, but I couldn't see it.  Perhaps it is one of those that went in as private instead of public.

    I have created that request:

    https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1439

     

    They closed it as "Won't do" 😞

     

    • Sad 1

  6. 17 hours ago, PetrifiedDelhpi said:

    Delphi (whater version since XEx) needs some magic (restart or killing.) Changing target usually leads to point that the background service that handles, for example, to going to the implementation, stops working properly. Or exception in bpl80.dll or something. The service works perfectly with Visual Studio Code, but that can't handle project settings, or compiling (that could be implemented.) One would wish a more stable editor.

    Debugging Android app is a nightmare 😞 After fresh start of Delphi, build and run, I mostly have "blue dots" and breakpoints work. As soon as I close the app and run it again, I never have blue dots/working breakpoints anymore. This happens even in a new app with one form and one button on it.


  7. A few notices:

     

    If you try Firebird Embedded on Android 14, use snapshot build (5.0.1). Version 5.0.0 crashes there (4.0.4 also). https://github.com/FirebirdSQL/firebird/issues/8110

     

    I have used their .aar file - renamed to .zip an extracted files manually. In Deployment manager:

    All files from .aar\jni\arm64-v8a -> library\lib\arm64-v8a\

     

    Files from .aar\assets\firebird I put in one .zip file, which is in Deployment Manager put to assets\internal

    In runtime I unzip them to tPath.Combine(tPath.GetHomePath, 'fbasset')

     

    In runtime, before using FB client, I set environment variables:

    SetEnvironmentVariable('FIREBIRD_TMP', TmpDir);
    SetEnvironmentVariable('FIREBIRD_LOCK', TmpDir);
    SetEnvironmentVariable('FIREBIRD', tPath.Combine(tPath.GetHomePath, 'fbasset'));

     

    Firebird client is then loaded from:

    tPath.Combine(tPath.GetLibraryPath, 'libfbclient.so')

    • Thanks 1

  8. 15 minutes ago, Pat Foley said:

    Mm,  What happens using F7 vs F9 key to run the program.     

    IDE freezes (with a small window for error message, but it did not display the text nor buttons - just empty rectangles), app freezes 😄 But - I killed IDE, uninstalled app from device. Killed adb.exe and lldb-mi.exe. Deleted the contents of "Android" folder.

    Start IDE, rebuild, run - there are blue dots, breakpoint works...


  9. Hello,

    Please is debugging of Android 32 / Android 64 apps working in Delphi 12.1? I have created a new multi-device app, target platform = Android 32-bit, Build configuration = debug, Target = my Android phone (Android 10). Just main form, two buttons.

    When I build the app, set a breakpoint and run the app, it does not stop at the breakpoint and IDE displays a cross instead:

    image.png.0e2a77556fd1312667ce1dd54543dd70.png

     

    All project options are in their defaults.

     

    Thank you, Karel


  10. 22 minutes ago, PeterPanettone said:

    Exactly. This is another reason to show the executable size after success and duration information—both for the debug and release build configurations.

    You can define a post-build event; even a simple .bat file containing something like "dir app.exe" can print this information to the "Output" tab in the IDE.

    Or, instead of "dir":

    forfiles /P "C:\MyAppFolder" /M "MyAppName.exe" /C "cmd /c echo @file: @fsize"


  11. 4 minutes ago, Maxime Janvier said:

    That would be a solution indeed.

    But performance-wise, I don't know the cost of anonymous functions.. What if that's called in a loop?

    Even if it' not called, some memory has to be dynamically allocated for the function code + the captured variables + the cost of capturing those variables...

    I might do a benchmark for that...

    In a loop, I would store the result of CanLog to a local boolean variable and then use "if StoredValueOfCanLog>=..." and direct call to your Log procedure (without anonymous function).

×