executable

How to create a desktop icon with Inno Setup

社会主义新天地 提交于 2019-12-21 08:18:29
问题 I am very new of Inno Setup and I wish to add a Desktop icon to my executable in Inno Setup. The file is stored in C:\Users\PycharmProjects\GIOTTOconverter\dist\giotto.ico I tried to follow several examples but without results. ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "GIOTTO" #define MyAppVersion "1.0" #define MyAppExeName "GIOTTO.exe" [Setup] ; NOTE: The value of AppId uniquely identifies

The simplest way to create jar file?

折月煮酒 提交于 2019-12-21 05:35:13
问题 I have a java project and i need to create jar file from my project . any body can tell me what is the simplest way to make this? 回答1: From scratch.. with CMD The command line is what almost every other application will use to build your JAR file. They just wrap it up a little nicer for you. In truth, it's very simple to do yourself. Obviously Java have explained this way in detail so there is no sense in me repeating it. Note : You need to have your JDK/bin directoy appended onto your %PATH%

Meaning of a Common String In Executables?

时光毁灭记忆、已成空白 提交于 2019-12-21 03:53:31
问题 There appear to be some similar-looking long alphanumeric strings that commonly occur in Mach-O 64 bit executables and ELF 64-bit LSB executables among other symbols that are not alphanumeric: cat /bin/bash | grep -c "AWAVAUATSH" has 181 results, and cat /usr/bin/gzip | grep -c "AWAVAUATSH" has 9 results. What are these strings? 回答1: Interesting question. Since I didn't know the answer, here are the steps I took to figure it out: Where in the file does the string occur? strings -otx /bin/gzip

Creating self-contained python applications

谁说我不能喝 提交于 2019-12-20 10:13:30
问题 I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe , bb-freeze and cxfreeze . This has to be in windows, which makes my life a bit harder. I remember that a couple of months ago the author had a zip file containing the install, but now it's gone, leaving me only with the python dependent way. How would you work this out? 回答1: Check out pyinstaller, it makes standalone executables (as in

How do you compile an Erlang program into a standalone windows executable?

一笑奈何 提交于 2019-12-20 09:14:21
问题 Richard of Last.fm over at metabrew has ported his apps to Erlang. It was also done by riak, couchdb and others. He mentions extracting the needed parts, or including the whole VM into the distribution. Main trait here is: the program does not require Erlang to be installed on the target machine. So the question is, how do you, step by step, package an Erlang program into a windows (and, less important, linux) executable? P.S. I've seen the SAE project, and I've read all the relevant

How to create an executable jar file with 1 GB heap

好久不见. 提交于 2019-12-20 04:37:31
问题 I created a class that gives a text file containing system performance as output. I want to run it as an executable Jar. but when I run the Jar I want to increase the heap to 1 GB. If we run this program I can do this by running like this: java -Xms1200m -Xmx1300m Sample But how can I increase heap space using an executable Jar? When I click on the jar it must execute with a heap space of 1 GB. 回答1: java -Xms1200m -Xmx1300m -jar FILENAME.jar Define this somewhere in the jar File or in the

Printing out the names of implicitly linked dll's from .idata section in a portable executable

自古美人都是妖i 提交于 2019-12-20 03:52:36
问题 I am trying to write a code which is supposed to print out the names of all the imported dll's in the exe by using the 'name' field of the IMAGE_IMPORT_DESCRIPTOR structure in the .idata section of the exe, but the program seems to be getting stuck in an infinite loop. Can someone please tell me how to get the names printed out correctly... #include<iostream> #include<Windows.h> #include<stdio.h> #include<WinNT.h> int main() { FILE *fp; int i; if((fp = fopen("c:\\Linked List.exe","rb"))==NULL

How to make executable version of software in Android?

一世执手 提交于 2019-12-20 03:30:46
问题 I am almost done with my project in android, now I want to make the executable version of the application. I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse. 回答1: Go to your bin folder and look for your [appname].apk file. Eclipse should build one as it builds your project. Then you can take this apk and move it to your device and install it! (Using a file explorer like ASTRO and enabling non-market apps to be installed). 来源: https:/

Why is a C/C++ “Hello World” in the kilobytes? [duplicate]

廉价感情. 提交于 2019-12-20 02:51:04
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Why are compiled Java class files smaller than C compiled files? Just out of curiosity I just compiled "Hello Worlds" in C, C++ and Java. The Java class file comes out very lean at just 423B which I understand since the runtime isn't included in the binary. The C and C++ ones are 8.5K and 9.2K however. Why are they so relatively big? I always assumed stdio or iostream are linked at dynamically and don't add to

Trying to get a Windows Service to run an executable on a shared drive

流过昼夜 提交于 2019-12-20 02:16:20
问题 I have c# that will run in a windows service. I'm trying to use the Process and ProcessStartInfo classes to run an executable. If the executable is on the local drive, no problem. However, I need to run an executable on a shared drive. I've tried using the UNC notation (//machine_name/share_name/directory/runme.exe), but the process seems to hang. The service and shared drive are on Windows XP. Has anyone tackled this issue before? 回答1: The account your service is running as likely does not