exe

About ImageBase of .EXE in windows

被刻印的时光 ゝ 提交于 2019-12-01 00:52:08
I just learned ImageBase is specified in PE format,and OS will load it to the exact position for .EXE , then comes the question: what if two .EXE is requiring the same ImageBase location? st0le Incase of 2 EXE's, they have Completely Different Address Spaces...Every Executable has its own space. This means, every time you execute an EXE, it is assigned its own independent 4GB (on 32bit systems, although the process can use just part of it, the rest goes the kernel.) worth address space. It's Virtual Address Space . It's different from your Physical Memory. So there's no conflict. Technically,

How to create a .exe file in netbeans?

独自空忆成欢 提交于 2019-12-01 00:44:57
问题 I've created a project in netbeans and I want it to be runnable in another computer without having the netbeans installed (just like a .exe in visual basic). I pressed F11 and I got a lib folder which has a .jar file on it. But then I don't know how to work it out, which one do I have to double click? Can anyone please guide me? 回答1: If you created a java project, then the "other" computer should have the java runtime installed, in order for the jar to be executed there (java -jar your.jar)

Running .exe without copying .dlls

不羁岁月 提交于 2019-11-30 22:43:28
I have Visual Studio 2015 solution ready for delivery. I have a requirement that the .exe should run out of the box. However, I am getting "missing dll..." errors. Is there any way I could make it possible for someone to run the exe without him needing to download bunch of ddls? Can I build the .exe to be executable as stand-alone somehow? Mahesh Yes, you have to statically link the binary. In the project settings (Configuration Properties -> C/C++ -> Code Generation), use /MT, /MTd for the Release, Debug configurations respectively. However, this bloats the size of the executable. MSDN

用cxfreeze打包Python3.3成exe文件

我只是一个虾纸丫 提交于 2019-11-30 22:23:11
在python中比较常用的python转exe方法有三种,分别是cx_freeze,py2exe,PyInstaller。 py2exe是这三者里面知名度最高的,但稍微复杂一点的结构就无法完美的解决更不用提py3了 cx_freeze,本次所用的是4.3.2 64bit。 cx_freeze下载地址:http://sourceforge.net/projects/cx-freeze/files/ 第一步:检查cx_freeze是否安装正确(运行cmd,切换到cxfreeze.bat所在目录,然后执行 "cxfreeze -h" 看看能否出来 cx_freeze的帮助信息,如图一 ) 图一 如果提示系统找不到指定路径(如图二) 将cxfreeze.bat文件进行编辑 打开你的python安装文件夹,例如C:\Python33\Scripts 点击c xfreeze.bat文件右键点编辑,将里面的路径修改为自己的安装路径 如:C:\Python33\python.exe C:\Python33\Scripts\cxfreeze %* 然后保存,关闭记事本,重新执行第一步,看看是否正确。 二、如果安装正确,就可以使用啦 正式开始打包,命令为:cxfreeze hello.py --target-dir dist 命令解释:hello.py 是你要打包的主文件、启动文件

Java: how to create a working .exe from a native installer?

给你一囗甜甜゛ 提交于 2019-11-30 22:13:43
I have a program I want to be able to be installed easily by any user, and I thought creating a native installer was the way to go. I used Netbeans 8.0's functionalities (Project properties > Enable native packaging, and Package as). I was able to create a working native installer. After installation, I have the following file tree: +-- Project \+-- app \+--lib (containing all the jars used by the project) \---Project.jar \---package.cfg \+--runtime \+--jre (contains the current jre) \---Project.exe Executing the program from Project.jar works. However, when I try to launch Project.exe, I get

How do I send commands to an EXE running through the command line with batch?

拜拜、爱过 提交于 2019-11-30 19:15:40
问题 I have a server application running called TerrariaServer.exe and I want to be able to send it commands with separate batch file. TerrariaServer.exe is a program running as a command line. How could I "feed" it a command such as "save" and "exit"? The answer might be pipes, but I'm not too sure. Here is kinda what I executed in a batch file while TerrariaServer.exe was running... @echo off echo save | TerrariaServer.exe echo exit | TerrariaServer.exe After that, nothing happen. I don't know

Windows application installer frameworks

◇◆丶佛笑我妖孽 提交于 2019-11-30 19:13:41
It's always seemed strange to me that downloadable applications would offer multiple types of installers. For example, sometimes you can choose either a .exe or a .msi Do certain types of installers have advantages over others? Does it matter which one you choose? As a developer, why would I want to offer different installers to my users? One big difference between the exe and msi: You can EDIT an MSI file. You can access the MSI Database directly using Orca -or- code it up through the WindowsInstaller APIs, using your favorite Windows hacking methods. Ex. I wrote a python based builder which,

Java: how to create a working .exe from a native installer?

爷,独闯天下 提交于 2019-11-30 17:48:35
问题 I have a program I want to be able to be installed easily by any user, and I thought creating a native installer was the way to go. I used Netbeans 8.0's functionalities (Project properties > Enable native packaging, and Package as). I was able to create a working native installer. After installation, I have the following file tree: +-- Project \+-- app \+--lib (containing all the jars used by the project) \---Project.jar \---package.cfg \+--runtime \+--jre (contains the current jre) \--

Create a standalone exe without the need to install .NET framework

落花浮王杯 提交于 2019-11-30 17:26:06
I'm a student and at the moment i'm doing an internship at a company. This internship is about analysing a project. For this project I have made a demo to show to the Marketing director. The demo I have made is a simple project created in Visual Studio 2010 in c# with Windows Forms and a connection to an Access database. So now i have to show this demo to this director in a presentation but after this presentation the director wants the project on his computer so he can try and use it. The problem is now that the computers here in this company don't have .NET framework 4.0 and the computers

Copy exe from one project to another's debug output directory

*爱你&永不变心* 提交于 2019-11-30 15:21:23
问题 I have two projects, ProjOne.exe and ProjTwo.exe. I want to build ProjOne.exe and it know that it's dependant on ProjTwo.exe so that it will copy ProjTwo.exe when it goes to build ProjOne.exe. I also have a ProjThree.dll that it already does that for perfectly. But this in only because the dll is referenced by ProjOne. Any way to do this like it does with DLLs/OCXs? Or is this going to be some POST build scripting? :) If so please give examples of the script I would use. Thanks! 回答1: Go to