5 How to use static compilation in version 3 of the easy language

Updated on technology 2024-03-26
19 answers
  1. Anonymous users2024-02-07

    Please first ** "vc6 mini linker" and copy the "vc98linker" folder to the root directory of easy language. Then find the file "Easy Language and the directory vc98linker and open it, run it and click Modify, you can use static compilation.

  2. Anonymous users2024-02-06

    The independent compilation of the easy language version is to write all the supporting libraries used in the program to the target program file, and then write the supporting libraries for the program to call when running the program. This is equivalent to equipping the computer with an easy-language dictionary and letting the computer know what the easy-language program asks it to do. Because there are many support libraries and they cannot be separated, even if you use a command in a support library, the support library must be written to the support library in its entirety, resulting in a particularly large size of easy language program files.

    Yi Language later abolished independent compilation and replaced it with static compilation. Static compilation is to decompose the supported libraries used, and compile which command is used, and directly turn it into a computer instruction. Because the support library is decomposed, the size of the program is correspondingly smaller, and there is no need to write the support library.

    However, so far, the static compilation of easy language requires a linker such as VB to perform static compilation, which is not very good. On the other hand, the use of external controls in the Easy Language cannot be statically compiled, which hinders the use of external components in the Easy Language.

    Yi language is developing, and it should be more perfect in the future.

  3. Anonymous users2024-02-05

    After static compilation, you can share the program you wrote with someone else without having to install Easy Language on their computer.

  4. Anonymous users2024-02-04

    This is due to the fact that Easy Language does not have such static support libraries installed. The default support library of Easy Language is the FNE support library, and the lib support library is used for static compilation; At present, because some support libraries do not have a corresponding static support library, there will be a situation where static compilation is not possible. Check to see what support library you are using, and then go to the official website of Yi Language to find the corresponding static support library.

    Q I can do it too, my support library is relatively complete!

  5. Anonymous users2024-02-03

    1. The library file is different from the program file, the compilation is to separate the support library file from the program, if you give it to someone else to use, but others do not install the easy language, you have to bring the support library file to that person to use. But static compilation is to package the supporting library files into the program. In this way, if the other party does not install the easy language, it can still be used normally and compiled independently.

    2. The process of the executable is different, and static compilation is the corresponding dynamic link library (.) that the compiler needs to call when compiling the executable when compiling the executableso) and link to the executable so that the executable does not depend on the dynamic link library when it runs. But compilation is to write the executable file and the supporting library together outside, and search for a command directly against one of the supporting libraries when needed.

    3. The compilation process is different, in layman's terms, static compilation is to support the static version of the support library static link (need linker, generally use VC6) to the exe, the library is in the exe, and there is no need to release it when you use it. PS: The support library that supports static is reorganized and released by Yi Company from time to time.

    It's not the same as the original, and after being compiled by the linker, it's also very different from the original independent compilation, making the statically compiled exe more like a VC program, but it's like, it's not,

  6. Anonymous users2024-02-02

    I think the most important ones are these:

    Independent compilation: Independent compilation is equivalent to "binding" the required support libraries together, and releasing the required support libraries into a subdirectory of the temporary system folder during runtime, and then running. |The software is bulky.

    Compilation: When compiling, put the software itself and the required support library "into" the same directory, and open the software directly during the runtime to run, but the support library and the software itself must be in the same directory (Note: You can no longer have the same directory on your own computer, because the easy language directory already has these support libraries:

    must be in the same directory on someone else's computer)|It is inconvenient to use and large in size.

    I think it's mainly these differences, don't complain, I hope it can help you! (〃'▽'〃)

  7. Anonymous users2024-02-01

    In Easy Language, if you want to turn an Easy Language source code program into an executable exe software program, there are three compilation methods:

    1. Compilation. This method simply turns the source code into an exe file, and does not package the supporting libraries used into the program. The advantage is that the program is small in size, which can effectively reduce false positives from some antivirus software; The disadvantage is that it can only be used on machines with Easy Language, and on computers that do not have Easy Language installed, it will say that there is a lack of support libraries.

    Therefore, when compiling with this method, it is best to let the system automatically write the supporting library used to the folder where the target program is located, so that it is easy to package it for use on computers without easy language.

    2. Independent compilation. In the Easy Language Edition, you can write the support library to the exe program, which is convenient to use on computers without Easy Language. The disadvantage is that the program is large and prone to false positives.

    In the easy language version, the independent compilation is changed to static compilation, and the support library is no longer packaged into the program, but the used commands are packaged, so the size is reduced and false positives are reduced. But static compilation requires the use of an external linker, and if it is not set up well, it will not compile.

    3. Compile into an installation file. This compilation can directly generate an installation file, which is convenient for the installation of software in other computers. The downside is that if you're not careful, you'll pack the source code into it.

  8. Anonymous users2024-01-31

    Stand-alone compilation: The runtime releases the required support libraries to a subdirectory of a temporary system folder and runs it. Static compilation:

    It can be run without any support library support, and the support library has been combined with the exe. However, some supporting libraries still do not support static compilation, so it is recommended to use independent compilation.

  9. Anonymous users2024-01-30

    Easy language static compilation is that he will bring your support library files with you and package them to you, that is, you can use them when you don't have easy language installed on other people's computers, if it is an ordinary program, then you must bring the support library files to him to use. ,There is also the difference between independent compilation and static compilation,Independent compilation is to put,The entire support library and bring it to him static compilation is to bring him only the commands you need to use,That is to say, the static compilation file will come out a little smaller。

  10. Anonymous users2024-01-29

    Independent compilation requires the release of supporting libraries and other files at runtime, which is actually a temporary static compilation, and the static compilation runtime is always adopted on a request.

  11. Anonymous users2024-01-28

    The compiled program is small, but it can't be run on other computers (you need to install the easy support library.) )

    Standalone compilation also needs to be at least 500k but can be run on any Windows system.

  12. Anonymous users2024-01-27

    Static compilation is only beginning to be available.

    Cons: Need for support.

    Advantages: It can be run on its own without relying on auxiliary files.

    Compilation can also generate executable files.

    Disadvantages: There need to be a lot of secondary files to serve the executable.

    Pros: Trouble-free.

  13. Anonymous users2024-01-26

    Compilation is the separation of the supporting library files from the program. That is, what you said was written in the same directory at compile time.

    If you give it to someone else and they don't have the easy language installed, you have to bring him the support library file to use it.

    Static compilation is the packaging of supporting library files into the program. In this way, if the other party does not pretend to be easy to speak, it is okay.

    for normal use. Same as standalone compilation.

    I really don't know what static compilation and independent compilation are. I only know static compilation and standalone compilation.

    When the program is sent to others for use, there is no need to bring a support library file, nor does it need to be placed on the installation of easy language.

  14. Anonymous users2024-01-25

    1. This kind of problem occurs, generally the compiler position in the configuration file is wrong, and the solution is as follows:

    2. Open the easy language installation directory, enter the "tools" folder, find the "file", and double-click to open it.

    3. Add the following ** at the end of the file (replace the easy language installation directory with the directory where the program is located), such as:

    linker="Easy language installation directory e tools"This directory is the directory where the program is actually installed.

    4. Finally, click Save.

    5. Then reopen the compilation.

  15. Anonymous users2024-01-24

    It's that your easy language has not been cracked, and the official version can't be compiled after a certain amount of time, so it will be said that the easy language is short and concise.

  16. Anonymous users2024-01-23

    You open the vc98linker folder of Easy Language, find the file, click it to enter the programming mode, and then click debug to run, there is a modification button on it, click on it.

  17. Anonymous users2024-01-22

    Jingyi Forum - Honor Team.

    This answer** is in the Jingyi forum, and you can learn it"Jingyi Forum"

    Jingyi Forum is a professional and easy language technology exchange and learning platform.

  18. Anonymous users2024-01-21

    Because you didn't use the genuine version, please go to the official to buy.

  19. Anonymous users2024-01-20

    Compilation is to compile the program, and it will prompt whether to copy the support library to the folder where the program is located, and the compiled program needs the support library.

    Static compilation is to compile the ** in the support library directly into the program, that is, the program can be run out of the support library, if the compilation needs to be used on the computer without the easy language installed, it is best to use static compilation.

Related questions
15 answers2024-03-26

Doesn't the key wizard come with a footstep?,There's this function.,Find it yourself.。

15 answers2024-03-26

Easy language. Ways to close the window:

1. First of all, in the open home page of Easy Language, open the Easy Language software environment. >>>More

6 answers2024-03-26

Agree with the upstairs statement that shelling is a good way to do it. As for this tool, you can take a look, but you need to know that it is very likely to be killed and poisoned after packing. It's not very difficult to add shelling, some of them are foolish, just do it all at once or get some sinister tricks, I'll give you an idea. >>>More

4 answers2024-03-26

We know that once the DLL function is imported into the input table of the exe file, the startup subroutine function of the DLL will be automatically executed when the exe file starts, so we can put the instructions that need to be executed in the function, and then remember to put a check box on the public option of the function, and then compile. >>>More

9 answers2024-03-26

Version 2 supports library specSubroutines take random numbers that are not repeated. >>>More