exe

appending data to an exe

﹥>﹥吖頭↗ 提交于 2019-12-17 15:44:16
问题 This question extensions from one of the answers to my earlier question: how to save user registration in the exe... (C#). The idea itself is still very new to me, but it seems plausible. My first attempt of simply appending a string to the exe from inside a different application didn't work. Then got a little smarter and tried appending bytes. Still no luck. I've found various documentations on Windows Portable Executable files: http://en.wikipedia.org/wiki/Portable_Executable http://msdn

Difference between .dll and .exe?

ⅰ亾dé卋堺 提交于 2019-12-17 10:07:46
问题 I want to know the exact difference between the dll and exe file. 回答1: EXE: It's a executable file When loading an executable, no export is called, but only the module entry point. When a system launches new executable, a new process is created The entry thread is called in context of main thread of that process. DLL: It's a Dynamic Link Library There are multiple exported symbols. The system loads a DLL into the context of an existing process. For More Details: http://www.c-sharpcorner.com

Packing Node.js-Scripts + node.exe into a single Executable [duplicate]

泪湿孤枕 提交于 2019-12-17 09:37:26
问题 This question already has answers here : How do I deploy Node.js applications as a single executable file? [duplicate] (8 answers) Closed 4 years ago . Because Node.js now also available on Windows, I would like to share my scripts without including node.exe. Is it possible to pack the script (no more files) together with the node.exe into a single executable file? 回答1: You absolutely can, and it's pretty easy with JXcore. Once you have JXcore installed on windows, all you have to do is run:

Packing Node.js-Scripts + node.exe into a single Executable [duplicate]

柔情痞子 提交于 2019-12-17 09:37:07
问题 This question already has answers here : How do I deploy Node.js applications as a single executable file? [duplicate] (8 answers) Closed 4 years ago . Because Node.js now also available on Windows, I would like to share my scripts without including node.exe. Is it possible to pack the script (no more files) together with the node.exe into a single executable file? 回答1: You absolutely can, and it's pretty easy with JXcore. Once you have JXcore installed on windows, all you have to do is run:

How do I bundle a JRE into an EXE for a Java Application? Launch4j says “runtime is missing or corrupted.”

痞子三分冷 提交于 2019-12-17 08:48:12
问题 I am new to programming in Java but am generally familiar with how everything works. I would like to be able to put both a jar file and a jre into a windows executable(exe) so that when I distribute it, the client needn't have a JRE installed. What program should I use? I have launch4j and it seems to do exactly what I want but when I try to run the app, I get "This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted." I want my app to

Signing Windows application on Linux-based distros

别来无恙 提交于 2019-12-17 08:17:20
问题 I have prepared an application and website where the customer can set several options for this application before he downloads it. Settings are stored in binary format on the end of the file (appended), then the edited file is sent to the end user. The problem is that the change of "contents" of the file will break the file signature - is there any chance to re-sign this changed file with any command line tools? I've tried to use Microsoft's SignTool, but it does not work properly on Linux.

PHP is not recognized as an internal or external command in command prompt

限于喜欢 提交于 2019-12-17 08:17:11
问题 I got the following error when I run a command with php C:\xampp\htdocs>php 'php' is not recognized as an internal or external command, operable program or batch file. I don't get any error when I run the command with php in following path: C:\xampp\php>php //do not got error here Why I get this error? 'php' is not recognized as an internal or external command, operable program or batch file. 回答1: Add C:\xampp\php to your PATH environment variable. Then close your command prompt and restart

How can I convert a JAR file to an EXE file?

百般思念 提交于 2019-12-17 02:49:10
问题 I want to created a JAR file and I want to run it on a client machine.So, I have a couple of questions: How can I convert the JAR file to an EXE file? How can I encrypt the JAR file's contents? The jar file could be extracted with WinRAR and the classes could be decompiled with any Java decompiler. How can I create an installer? My clients doesn't have any JVM and I don't want to ship JDK or JRE along, because they have big size. 回答1: See this link: Java to Exe. It also explains what valid

How do I set the version information for an existing .exe, .dll?

流过昼夜 提交于 2019-12-17 02:26:39
问题 As part of our build process I need to set the version information for all of our compiled binaries. Some of the binaries already have version information (added at compile time) and some do not. I want to be able to apply the following information: Company Name Copyright Notice Product Name Product Description File Version Product Version All of these attributes are specified by the build script and must be applied after compilation. These are standard binaries (not assemblies) compiled with

Java Programming: call an exe from Java and passing parameters

坚强是说给别人听的谎言 提交于 2019-12-16 20:17:34
问题 I'm figuring out a mechanism to call an exe from Java and passing in specific parameters. How can I do? Process process = new ProcessBuilder("C:\\PathToExe\\MyExe.exe").start(); InputStream is = process.getInputStream(); InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); String line; System.out.printf("Output of running %s is:", Arrays.toString(args)); while ((line = br.readLine()) != null) { System.out.println(line); } The previous code works. But