I 've been trying to find a way to make. netProgramIt runs on a computer without the framework installed, but no real available ones are found. Although some companies have releasedCodeCompile the navtive code to run it out of the. NET environment, such as remotesoft DOTNET linker and xenocode postbuild, but it has not been cracked. The programs compiled with them will add copyright information each time they run. Recently, I accidentally discovered that a method can truly run the program out of the. NET environment without any copyright information,Source codeThe test program is released here:
FirstArticleProgram; if none, the Framework Virtual Machine (Vm.exe ( In fact, fetionvm.exe in the framework of fetion modified its icon and copyright. If you want to change it to another one, you can use VC to change it. Some netizens asked me to point this out. Why, let's just point it out. We also need to point out the calling method. In fact, I have even published the source program. do you understand this? Worker starts the 9527.exe program. The loader does not open any window and exits immediately after the real application is started. The code for the main function of the loader program (written in vc6.0) is as follows:
Main function:
Int Apientry winmain (hinstance,
Hinstance hprevinstance,
Lpstr lpcmdline,
Int Ncmdshow)
{
Tchar fwversion [version];
If (Checkregistrykeyexistance (fwversion ))
{
If (Comparefwversions (fwversion, " 2.0 " )) // Minimum Version 2.0
{
Runapplication (". \ App \ 9527.exe");//Run directly
}
Else
{
// The application program is stored in the appdirectory. The name of the program to be started is 9527.exe,
// 9527 Zhou xingchi's code in Tang bohu's qiuxiang
Runapplication ( " . \ Framework \ vm.exe \ " . \ App \\ 9527 . Exe \ "" ); // Run through a virtual machine
}
}
Else
{
Runapplication (". \ Framework \ vm.exe \". \ App \\9527. Exe \"");//Run through a virtual machine
}
Return 0 ;
}
The installation code will not be pasted out. You can download the entire vc6 project file at the end of the article.
The following describes how to use it:
1. Download my example Program
2. Clear all files in the app
3. Copy your own .netexecutable program and related files to the append, and change the executable program name to 9527.exe (if you do not like this name, you can modify the loader program to recompile it)
4. Change the name of the main directory's serial tool .exe "to any name you want. (If you want to change the icon, we recommend that you download my loader source program and re-compile it after modification)
As a result, try it on a computer without. net installed. Good luck.
Related downloads:
Test procedure
Loader source code