N
N
Nick Federau2018-08-20 08:09:07
C++ / C#
Nick Federau, 2018-08-20 08:09:07

Substituting your code and interface into someone else's program. How?

For example, the program is written in c++.
There are no sources.
The interface has fields for the full name, I need to fill them in by searching referring to the database (any external one),
i.e. I would like to add a search field in this database and a button to start the search and display them on the form of the program.
It turns out that you need to somehow implement your code for accessing the database, implement the code for creating an interface and filling in data.
In which direction should I dig?
ps I understand that it looks like viral technology, but that's not the point at all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zelimkhan Beltoev, 2018-08-20
@PannaCottik

The simplest solution that comes to mind is to write your own small program with an input field for searching in the database, and after the search, it fills in the full name in that program.
You can start with the Spy++ utility to analyze the program with full name fields.
If you still want to tweak the interface and code of the program, then it already depends on what is used for the GUI (pure WinAPI, WinForms, WPF) and this is already dancing. It may turn out that it is written in the .NET Framework and you can easily disassemble and rewrite it in the studio, or you may have to implement your own DLL library with additional logic.

A
Alexander Taratin, 2018-08-20
@Taraflex

The simplest way is to emulate user actions.
The most popular solution is https://www.autoitscript.com/ (also provided as a library, there are wrappers for different languages).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question