exe

.NET: embed an EXE file into my project

房东的猫 提交于 2020-01-23 06:16:15
问题 I know that is strange situation, but I need to embed an EXE file (or the assembly code) into my project, so it can be started only by the application (it can't create the EXE in the filesystem and start it)... Is it possible? Edit: It's not a .NET EXE. Anyway I added the Test.exe file as a resource to my project and I did this Dim exestr As Stream = Nothing Dim a As Assembly = Assembly.GetExecutingAssembly exestr = a.GetManifestResourceStream("Test.exe") 回答1: I'm thinking create a RAM disk ,

Make a program using only system-calls not windows dll's [duplicate]

醉酒当歌 提交于 2020-01-21 20:09:33
问题 This question already has an answer here : Windows system calls [duplicate] (1 answer) Closed 2 years ago . I am trying to make a program work with system-calls not dll's ( kernel32.dll , ntdll.dll ). I know for example that the 0x2C (44) system call in windows 10 64-bit is the NtTerminateProcess buy that web page. Also when I disassemble the ntdll.dll i found that code: NtTerminateProcess: mov r10, rcx mov eax, 44 test byte [abs 7FFE0308h], 01h ;also what is in that memory address? jnz label

PreEmptive Protection Dotfuscator exe files

对着背影说爱祢 提交于 2020-01-21 05:37:05
问题 What is Map.Xml and Dotfuscator1.Xml files of PreEmptive Protection Dotfuscator exe file. Should I keep them for some reason or maybe it is needed for project exe file assembly? 回答1: The Dotfuscator1.xml file is the Dotfuscator project (i.e., configuration) file. It is an XML file that defines what assemblies will be processed by Dotfuscator, where the protected assemblies will be written, and any custom configuration of the protection process (e.g., any names that will be excluded from

Is it possible to start a Windows process from Javascript running in a web page in Firefox or IE

纵饮孤独 提交于 2020-01-16 18:02:32
问题 I need to understand if Firefox (or IE) supports starting an external operating system (Windows) process from JavaScript code running in a <script> tag in the web page. As a trivial example, I want the user to be able to click a button ( <input type="button" .../> ) in the web page which would cause some JavaScript to be executed that would start Notepad (i.e. c:\Windows\System32\notepad.exe) (Note: in my case, I need to start a custom .exe created by one of the developers I work with, not

Is it possible to start a Windows process from Javascript running in a web page in Firefox or IE

天大地大妈咪最大 提交于 2020-01-16 18:02:07
问题 I need to understand if Firefox (or IE) supports starting an external operating system (Windows) process from JavaScript code running in a <script> tag in the web page. As a trivial example, I want the user to be able to click a button ( <input type="button" .../> ) in the web page which would cause some JavaScript to be executed that would start Notepad (i.e. c:\Windows\System32\notepad.exe) (Note: in my case, I need to start a custom .exe created by one of the developers I work with, not

Applying code signing for 7zip SFX (self extracting exe)

假如想象 提交于 2020-01-16 04:55:12
问题 I have code signing applied to the windows exe. And then we create an SFX (self extracting exe) with that windows exe and a json data file using the following commands. "C:\Program Files\7-Zip\7z.exe" a -t7z abc.7z "C:/xampp/htdocs/path/test.dat" "C:\Program Files\7-Zip\7z.exe" a -t7z abc.7z "C:/xampp/htdocs/path/test.exe" But when we try to download this sfx exe, we are getting warning from the browser and also showing confirmation to proceed with the installation when trying to install

Running a .exe file inside java code

£可爱£侵袭症+ 提交于 2020-01-16 01:14:05
问题 I am trying to run a .exe file that I have generated inside a Java code. I have a GUI written in Java and the .exe file is generated using MATLAB (its actually a Simulink model). When I run the .exe file separately (i.e. I double click on it) it will create an output file ( which is what I expect) but when I run my Java code it opens the command prompt but it won't generate any outputs at all -in fact I am not even sure if it runs my .exe file or not. Here is my code: package combustionModel;

Compile .cpp file to .exe inside of Program(exe)? [closed]

爱⌒轻易说出口 提交于 2020-01-16 00:42:10
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Here is the deal... I want to make a program (exe) that will take the user defined settings and make a custom (exe) file for the user inside of the previously mentioned program (exe). Wanted to know if there was

How to get installed exe file system path after scheduling in windows scheduler?

荒凉一梦 提交于 2020-01-15 12:32:31
问题 I have written in my console application a line System.IO.Path.GetFullPath("ApplicationSubDirectory") to get application directory file system path. I build this application and installed exe in my system. exe has been installed in c://ProgramFiles/AppFolder/ directory. When I execute exe then I got valid path like c://ProgramFiles/AppFolder/ApplicationSubDirectory . But when i scheduled this exe to run dailly basis in windows scheduler. Then I am getting wrong path. This returns me path of

How to get installed exe file system path after scheduling in windows scheduler?

隐身守侯 提交于 2020-01-15 12:32:15
问题 I have written in my console application a line System.IO.Path.GetFullPath("ApplicationSubDirectory") to get application directory file system path. I build this application and installed exe in my system. exe has been installed in c://ProgramFiles/AppFolder/ directory. When I execute exe then I got valid path like c://ProgramFiles/AppFolder/ApplicationSubDirectory . But when i scheduled this exe to run dailly basis in windows scheduler. Then I am getting wrong path. This returns me path of