exe

How to package executable JAR file into EXE

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 08:17:16
问题 I would like to deploy my final build as an EXE with an application Icon. What is the best way to do this? What is the common practice? 回答1: Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size. The wrapper also provides better user experience through an

Delphi decompiling [closed]

让人想犯罪 __ 提交于 2019-11-30 07:43:17
Why decompiling a delphi exe, is so easy, compared to others executables built with other programming languages/compilers? There are a few things that help with reversing delphi programs: You get the full form data including the name of event handler methods All members with published visibility have metadata used with RTTI The compiler is pretty bad at optimizing. It does no whole program optimization and the assembly is usually a straight forward translation of the original source with only minor optimizations. (At least it was in the versions I used, might have improved since then) All

Running exe inside WinForm Project Tab

做~自己de王妃 提交于 2019-11-30 07:41:18
I am interested in assistance in doing the following with a winform application I am writing to open in a tab an .exe in c# in the Visual Studios 2010 IDE. I'm currently able to open the program via button click in the desired tab using the following code: string str = @"-INSERT FILEPATH HERE-";//took file path out as i have a few exes i'm wanting to add. Process process = new Process(); process.StartInfo.FileName = str; process.Start(); now how can i make it so this executable opens as the tab or in a tab, in my winform? I'm open to suggestions to doing either case. SOLVED: using System

How to decompile an exe or a dll to assembly

◇◆丶佛笑我妖孽 提交于 2019-11-30 07:03:39
I am really interested in assembly language and I want to learn about how exe files work how dlls run etc... and I have an idea of writing an application to decompile an exe to assembly code since i am not a very good assembly programmer and with the lack of knowledge of the inner working of exe I couldn't do it. Since I can read an exe in hex i think it is not impossible but I don't know how to write my own program. Any resources or any help would be appreciated. I think you're looking for a disassembler not a decompiler. IDA pro seems to be popular and you can download an older version for

Windows application installer frameworks

青春壹個敷衍的年華 提交于 2019-11-30 03:28:07
问题 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? 回答1: 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

How to convert python .py file into an executable file for use cross platform?

血红的双手。 提交于 2019-11-30 02:01:55
I've been searching through SO for a while now trying to come up with an answer to this but due to my inexperience with programming I don't understand much of the documentation, nor am I confident enough to experiment too much. Would anyone be able to describe in slightly simpler terms how I would use programs like Py2exe, PyInstaller, cx_freeze etc.? I just want a way for others (mainly friends) to be able to run my (simple, text only) program without having to download python themselves. If there is an easier way to do this I'd appreciate knowing that too. Running Vista 32bit, python 2.7

How can I create a Windows .exe (standalone executable) using Java/Eclipse?

时间秒杀一切 提交于 2019-11-30 01:53:38
I'm new to the programming scene. Been working with C++ for about 5 months now, and have decided I want to start getting into Java. I'm using Eclipse as my IDE, and obviously Java for the language. I'm trying to write a simple HelloWorld application, which can be run through a command prompt executable. In Visual Studio, it seems it's rather easy to create an executable. All I've ever had to do is use a pull down arrow and choose Release, and then run my build. The purpose of wanting to be able to write/run Java in command prompt is so that I'm able to practice some of the language basics

How to organize source files of Java program?

我只是一个虾纸丫 提交于 2019-11-29 23:35:47
问题 I've created small program in Java . It uses Java classes, some images and generates some other resources ( .php files, images, stylesheets etc). I'm compiling sources as .jar and creating an .exe program, which should use my .jar and other resources. What is the best practice to organize all sources of my Java program? 回答1: I will recommend the below maven structure as the standard convention even if you are not using maven. src/main/java Application/Library sources src/main/resources

How to embedd openCV Dll's in Executable

﹥>﹥吖頭↗ 提交于 2019-11-29 23:06:49
问题 I wrote an image matching tool (console application, without gui or windows), using openCV. I want to port my EXE file to another computer but it asks for opencv dlls (opencv_core220.dll, opencv_highgui220.dll, ...) My question is how to do it. I see two ways any of them is good: Recompile opencv as static library (.lib instead of .dll). That didnt work. I get 10 linker errors regarding cap_vfw.obj If possible, how to merge/embedd DLL's into exe file. I tried to use ILMerge, but it doesnt

Why Visual Studio 2015 can't run exe file (ucrtbased.dll)?

佐手、 提交于 2019-11-29 20:52:27
I have installed the Visual Studio 2015 and created Win32 project with some code. I compiled it successfully, but I can't launch exe file, because I don't have some ucrtbased.dll...So how can I solve it? Edit: The English equivalent message is: "The program can't start because ucrtbased.dll is missing from your computer. Try reinstalling the program to fix this problem. " This problem is from VS 2015 silently failing to copy ucrtbased.dll (debug) and ucrtbase.dll (release) into the appropriate system folders during the installation of Visual Studio. (Or you did not select "Common Tools for