- Cell Phones 1821
- Desktop 779
- Editors 410
- Education, Science & Engineering 1115
- Games 2036
- Internet 5083
- Multimedia & Graphics 977
- Office software 756
- PC 407
- Programming 1872
- 1C 127
- ActiveX 3
- Assembler 31
- C# 83
- C/С++ 294
- Data Bases 381
- Delphi/Pascal 496
- Disassemblers 6
- OpenGL/DirectX 5
- PHP 165
- Setup Software 22
- Visual Basic 25
- Others 234
- Security 776
- SEO 302
- Software for Pocket PC 194
- Utilities 2022
Combining the two exe program (ESP on the assembler)
Refunds: 0
Uploaded: 15.01.2012
Content: exe.rar 207,31 kB
Description
The program consists of two source files, one of which is written in high level language (kurs1.cpp), and the other assembler (codes.asm).
The structure of the file on the part of the parent SI function main () function to create a file ExeExe (). The structure of the file in Assembler - a procedure CodesExe (), the essence of which is to install interrupt vectors to access the program in the executable file.
The program is compiled and companies in the environment Borland v.3-1, in the project. This creates an executable file, which is a program that connects two executables.
After running this file, the program asks for three names of executable files such as ".EXE":
1 file - the first program
2 file - the second program
3 Fail - a file that will perform both programs (it is formed in the program)
After creating the file, the program output provides code completion:
0, the successful completion of
1- inability to open one of the files
-1-Impossibility in connection software
Additional information
The composition of the course work:
* Explanatory note
* Source code and program files for test