Jump to content

direktor05

Members
  • Content Count

    61
  • Joined

  • Last visited

Everything posted by direktor05

  1. direktor05

    detecting events

    There is an option with DebugView (https://learn.microsoft.com/en-us/sysinternals/downloads/debugview) by adding debuglog.add('ProcedurenName'); to every function/procedure and checking what is executed. However this debugview log becomes saturated with junk because the program repeatedly calls certain procedures and functions all the time when the track mp3 is playing. This info I don't need. I just need the info which procedure is called exactly when timer is triggered to play track 2. Not before not after.
  2. direktor05

    detecting events

    So I need to have some kind of event catcher. That would be triggered only when something happens. Not all the time, otherwise I'd have a tracking list looking like this Rihanna - Only Girl.mp3 Rihanna - Only Girl.mp3 Rihanna - Only Girl.mp3
  3. direktor05

    detecting events

    Something like this. But this is debugger. Exceptions catcher. I mean like this. Lets say you have a music player. Rihanna - Only Girl.mp3 MichelJackson - Baby Jane.mp3 Prince - 1999.mp3 I start playing the list. I set up alarm, I say after 3 minutes no matter what you play start playing track 2 - Micheal Jackson. I want to know which procedures, functions are triggered/called when this happens. I need to know which procedures/functions program calls when it starts playing track 2 on timer.
  4. Hello, I have TCanvas and I want to dynamically add onClick event. How do I do that? I read something about TNotify and adding property, but how exactly? Need whole code.
  5. like the picture shows.
  6. Exactly! But I need only the top 100px of that paintbox to be able to be clicked to trigger a specific event not whole TPaintBox - or other areas of painbox that are filled with other things. How can I achieve that?
  7. Only one problem. Image1 has onClick event by default. TCanvas does not have it. So I need to add property I think. Its a little bit more complicated.
  8. direktor05

    Thread Status Window

    Does anyone know how to remove the thread status window in Delphi IDE? (11.3)
  9. direktor05

    Thread Status Window

    This maybe the solution although not programatically but it ok:
  10. direktor05

    DLL access error

    Hello, Im calling a DLL written in Delphi, when exiting form I get Access Error. How to deal with debugging of this kind of errors when you don't know exactly what is wrong but only get memory location access error? I think there is a problem with memory management, loading and unloading, creating and destroying components. But where....? Are there any tools to better analyze this? I'm using Delphi 11.3 Help is very welcome.
  11. direktor05

    DLL access error

    and you too!
  12. direktor05

    DLL access error

    Heff you are a genious!
  13. direktor05

    DLL access error

    how about this: http://www.pe-explorer.com/
  14. direktor05

    DLL access error

    right with not much info. the is the CPU window with a lot of assembler code to dig through
  15. direktor05

    DLL access error

    Yes I have, same thing - access error is still there. not knowing where it came from no matter what you debug.
  16. direktor05

    TTreeview to JSON VCL?

    Hello, Is there a TTreeview component that can export items to JSON? Probably not or is very simple, because I also need to export data associated with a node which is in Pointer to Json. Any suggestion welcome.
  17. direktor05

    TTreeview to JSON VCL?

    Hello, Is there a TTreeview component that can export items to JSON? Probably not or is very simple, because I also need to export data associated with a node which is in Pointer to Json. Any suggestion welcome.
  18. direktor05

    TTreeview to JSON VCL?

    DAMN, I just discovered there is also TJsonTreeView component. Delphi 10.4. A nono, its a component I installed. Made by some Polish guy at Embarcadero.
  19. direktor05

    TTreeview to JSON VCL?

    thanks
  20. direktor05

    TTreeview to JSON VCL?

    No I want to make a tool to create HTML menus. So I want a treeview that will be just like a website menu then export to json and read with javascript. The menu must not only have name, but also link url, onclick event description and parent/child id, stored in tTreeview1.items.data pointer.
  21. direktor05

    TTreeview to JSON VCL?

    Or give me some code snippet to parse TTreeView, then will make json manually
  22. Hello, How do I parse this Json: {"result": [{ "animals": [{ "id":1, "name": So.... I parse Json first: jsonobject := TJsonObject.ParseJSONValue(RestResponse.Content) as TJsonObject; Then I get to "animals":[{"id".... now here gets complicated. How do I parse further to get ID and name? Parse Json further or parse Json Array? Can someone help with some example code please?
  23. direktor05

    Parse Json again, complicated

    Full Json: {"result": [{ "animals": [{ "id":1, "name":"pig", } ] } ] }
  24. Hello, does anybody know of any good Delphi AES (or similar) unit to encrypt/decrypt binary files? I found plenty however none works well - there is loss of information or can only encrypt/decrypt strings. Must be able to encrypt/decrypt binary file without loss of information - after decrypting back to original the exe file must be exactly the same in size. Help is needed.
  25. Ok Ladies and G... Ladies, here is the macho man solution for the brave. FileCrypt2.zip
×