G
G
Governor2018-01-08 13:26:53
Programming
Governor, 2018-01-08 13:26:53

How to start one program while starting another?

There is a certain program, let it be a game. I want that when I start this game, another program is launched that requires a password. If the password is correct the game continues to run, if not, the game closes. I so understand it all is connected with disassembly. Somewhere in the game code, put jmp on another program at startup, etc.
Do not advise other programs, I want to do it myself, for educational purposes. But I'm not very good with assembler, you just tell me what this method is called. I'll go study.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2018-01-08
@saboteur_kiev

There are no such methods in assembler. Your statement of the problem in general is not connected with the assembler.
Learn programming in general first, and then set tasks, because now your question sounds incorrect.

A
Alexander, 2018-01-08
@NeiroNx

Maybe just set up User Account Control? Once upon a time I saw such a program ExeLock - it adds its own to the main code with showing a dialog box for entering a password.
freeexelock.com
Do not forget to configure the rights to the executable - otherwise it can be replaced or Steam will erase it during the update.

L
Lander, 2018-01-08
@usdglander

If you need two different applications directly, then use semaphores (Mutex in Windows). The softin type will not start until a semaphore is received from the password entry application that the password is correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question