Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/07/22 in all areas

  1. Stefan Glienke

    How does the "Address Space Randomization (ASLR)" actually work

    https://security.stackexchange.com/questions/18556/how-do-aslr-and-dep-work
  2. aehimself

    How to open a file in the already running IDE?

    Btw, stability issue seem to be solved by calling DdeDisconnectList when finished. I'll push an update soon.
  3. Der schöne Günther

    Attempt to release mutex not owned by caller

    Hi there. TMutex.Release() is just calling ReleaseMutex(..) of the regular Win32 API. Here is its documentation: ReleaseMutex function (synchapi.h) - Win32 apps | Microsoft Learn You acquired the mutex directly in the constructor of TLockGuard. You will have to release it from the same thread that acquired it. By the way: In your destructor you are calling _mtx.Release() even if _mtx is nil By the way: Can you post a complete example of how you are using your TLockGuard? For simple cases I have not been able to reproduce your issue. If you are constructing it locally, reference it as an IInterface and do not pass it somewhere else, it should be fine ... I guess.
  4. Attila Kovacs

    How to open a file in the already running IDE?

    There is an array with the window handles which answered to DDE_INITIATE, there is GetWindowExeName to get the executable, you have everything just like before, the only difference to your needs is, that I'm trying to open a file in every running IDE's in my demos.
  5. aehimself

    How to open a file in the already running IDE?

    And with this, you made all calls work fine from a background thread!
  6. David Heffernan

    Attempt to release mutex not owned by caller

    This is a very long standing bug that for reasons I cannot understand Embarcadero won't fix
  7. Dave Nottage

    problem on update sdk ndk in delphi 11

    I doubt that error message (platform architecture issue) is related to the API level issue. It's possible that you're compiling for 64-bit and the installed OS is 32-bit. Be aware that some devices have a 64-bit CPU, but have a 32-bit Android OS installed.
  8. I'm sure this is not appropriate forum behavior, but I want to say that I love you. Maybe I should say I'm feeling a lot of love for you. Online correctness is not my thing. I did as you suggested (deleted the output folders), then I built and installed again and now it is working. You saved me an unknown amount of time. I am truly grateful to you.
  9. SteveHatcher

    View program flow and calls to help understand code?

    Thanks everyone for your advice and input. Pascal Analyzer (actually Pascal Browser) seems the closest automated system to what I'm after. It generates a html report and shows Module Calls and Module Called-By. Definitely helping me understand the flow of the code.
×