A
A
Andrey K2020-02-12 20:55:13
Windows
Andrey K, 2020-02-12 20:55:13

Is it possible to make a button work in a program without source code?

Good afternoon.
There is an old simulator program for the Russian language "Phrase" from "GuruSoft", 2001 release. Naturally, without the source code, the developer company no longer exists (the company of the same name replied that it was not them).

The "Next" button does not work in the interface, which is used to move to the next task.
I ran the program on all declared operating systems: Windows 98, 2000, XP, and also Windows 7. I changed the screen resolution, color depth, font dpi. I installed it on a hard drive and in the "from CD" version.
The result is the same everywhere: the "Next" button does not work.

Is there any way to bind an action to the ill-fated button other than by disassembling the program?

5e443b767fa25319530030.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey K, 2020-02-13
@aakumykov

The reality turned out to be richer than fiction: the program broke down at the beginning of winter and "repaired" now, in March. Changing the date to February again resulted in a non-working state. In my tests, I changed the value of the year, who would have thought that this is the month O_o.

X
xmoonlight, 2020-02-13
@xmoonlight

Change OS compatibility in the shortcut - tried it?

B
BasiC2k, 2020-02-13
@BasiC2k

Yes, turning on the button is quite real. You need to use WinAPI. First you need to find the handle of the window, by its title. Then the child controls of the window are traversed, the handle of the inactive button is determined. Next, a message is sent to the button that enable=true. The button becomes active. But this will not insure you against logical errors in the program, because no one should press the button, according to the developer's idea.

R
Radjah, 2020-02-13
@Radjah

As a wang.
If the screenshot has not changed, then there may be a problem with the fonts, due to which the text of the task is not displayed. And the button doesn't work because the user didn't select an answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question