Jump to content

Attila Kovacs

Members
  • Content Count

    2063
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Attila Kovacs

  1. ctrl-v on the project name (xy.exe or .dll etc..) in the project manager at the upper right corner of the IDE. Just saying. Looks like it will open something new for you.
  2. Attila Kovacs

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    I did something similar the other day, installed Win11 into a HyperV container + Delphi 11 Trial with Android SDK, connected my phone via WLAN debug to the system, added a button to the form, F9 and voila, app is running on the phone. Brilliant. It's just slow AF as I'm on my old notebook 😉
  3. Attila Kovacs

    FB3.0 SQL

    aggregate + pivot not sure that FB3 supports the latter though
  4. Attila Kovacs

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    Apparently not anymore. I'm glad to see the industry coming together.
  5. Attila Kovacs

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    Is that a Windows 11 ARM running in a VM on a 3000 EUR MAC emulating x86 to run RAD Studio? 🙈 That will be nice! 😉
  6. Attila Kovacs

    SOAP Client Android

    And are you sure your android device is knowing that netbios name? What about using an IP instead?
  7. Attila Kovacs

    SOAP Client Android

    I don't know, first of all, what is this? "http:/masterdata/Artikel.asmx" this is not an URL. Is it an example with typo? I'd try to change http to https, hopefully your endpoint supports https. (which will raise further questions/problems but that will be the next step)
  8. Attila Kovacs

    SOAP Client Android

    should be https
  9. Attila Kovacs

    How can I use nslookup in my app.

    Why don't you just connect to myip.opendns.com from the outside?
  10. Attila Kovacs

    Parse Json

    maybe "adresse'] as TJSONArray);" the return type of Values[] is very general, you have to process it with checking against the type and cast them if apply.
  11. Attila Kovacs

    Parse Json

    for example: (jsonObj.Values['forretningsadresse'] as TJSONObject).Values['adresse']
  12. Attila Kovacs

    enable/disable the internet connection?

    He was in ~10 reboot distance to his goal. 🙂
  13. Attila Kovacs

    enable/disable the internet connection?

    anyway, in powershell it should be pretty easy to disable/enable the networking or ptarts of it
  14. Attila Kovacs

    enable/disable the internet connection?

    ups, my apologies 😄
  15. Attila Kovacs

    enable/disable the internet connection?

    What the heck are you talking about, linux since 10 years and you are asking for an "API"? Where is an API to do that under linux? Take a powershell and write your scripts like in linux.
  16. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    So they were leaks from the perspective of the initial test. This means that your repro's were also wrong, didn't they?
  17. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    The issue is always there, even at the first run. But I can't make you place breakpoints and run the app, so I can't really help further 😉
  18. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    Well, I'm not sure on that. It's harder to create the exact same environment as one would think. You see what is leaking, you could start placing breakpoints to the constructor/destructor of the imagelists first and count them, and check who the caller is.
  19. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    I'm fine with 10000 decimal. Is that on the screenshot? It's showing a bunch of HBITMAP leaks in the comctl32.dll. TImageList is a wrapper for some windows imagelist so I'm suspecting that it's not freed correctly or created twice under the same reference etc... I'd look for that.
  20. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    I don't think that the ImageList should be on the frame. Anyway, is your test-project also creates the sub-frames from the constructor? You should check where and what is calling GetDC/ReleaseDC in the VCL and if they are called in pair.
  21. Attila Kovacs

    Compiler detecting repeated lines?

    You would not wait for the compiler to finish 😉 But maybe in the future there will be such things. Why not. However, as @ConstantGardener mentioned, it would be a task for static code analysis as you would lost too much time on every compile vs. the cases you have in your code.
  22. Attila Kovacs

    Compiler detecting repeated lines?

    who gives you the guarantee that the second call is returning the same value? <o>?
  23. Attila Kovacs

    Strategies for minimizing app start time

    move the splash screen randomly to 0,0 (topleft) corner and show it blurry for no reason
×