direktor05
Members-
Content Count
61 -
Joined
-
Last visited
Everything posted by direktor05
-
detecting events
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
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. -
detecting events
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
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 -
detecting events
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
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. -
Add onClick event on TCanvas
direktor05 posted a topic in Algorithms, Data Structures and Class Design
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. -
Add onClick event on TCanvas
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
like the picture shows. -
Add onClick event on TCanvas
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
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? -
Add onClick event on TCanvas
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
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. -
Does anyone know how to remove the thread status window in Delphi IDE? (11.3)
-
This maybe the solution although not programatically but it ok:
-
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.
-
Heff you are a genious!
-
how about this: http://www.pe-explorer.com/
-
right with not much info. the is the CPU window with a lot of assembler code to dig through
-
Yes I have, same thing - access error is still there. not knowing where it came from no matter what you debug.
-
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.
-
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.
-
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.
-
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.
-
Or give me some code snippet to parse TTreeView, then will make json manually
-
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?
-
Parse Json again, complicated
direktor05 replied to direktor05's topic in RTL and Delphi Object Pascal
Full Json: {"result": [{ "animals": [{ "id":1, "name":"pig", } ] } ] } -
Binary file encryption/decription problem?
direktor05 posted a topic in Algorithms, Data Structures and Class Design
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. -
Binary file encryption/decription problem?
direktor05 replied to direktor05's topic in Algorithms, Data Structures and Class Design
Ok Ladies and G... Ladies, here is the macho man solution for the brave. FileCrypt2.zip