executable

Does lipo increase final binary size?

半腔热情 提交于 2020-01-06 08:16:29
问题 I know I can use lipo to create a universal static library that I can then include in my project. It's convenient because it builds for the simulator or device, but will it make my project's archive bigger than if I had (a) included the static library built for device only or (b) made the static library project a subproject of my project? 来源: https://stackoverflow.com/questions/22489812/does-lipo-increase-final-binary-size

Running jobs through ssh (linux/osx)

自作多情 提交于 2020-01-06 05:40:10
问题 I was wondering if it was possible to execute jobs via ssh. In particular I have a different list of input files on a number of machines that all have the same executable in the same place. Is there some command which means I dont have to move from machine to machine using ssh and set them running individually. The sort of thing I had in mind would be something like: ssh RemoteMachine1:./Executable ~/Inputfile_1 ssh RemoteMachine2:./Executable ~/Inputfile_2 which could be run from my host

how to save user registration in the exe… (C#)

自作多情 提交于 2020-01-05 04:49:07
问题 Is this even possible? I realize that asking them to enter data when the program runs and saving it in the executable file itself is out. (Or is it?) Right now I'm considering trying to build the program server-side with php and have it incorporate a separate text file which would contain the information. This seems marginally feasible, though I would have quite a bit of learning to accomplish it. I was hoping for some other ideas of how I might accomplish this. I am not interested in

Python 3.2.2, error(scripts to exe)

主宰稳场 提交于 2020-01-04 13:41:51
问题 Hello i follow this instructions (How can I use the py2exe to change the python3.2's code to exe) to create exe form python scripts(version 3.2.2), but it report me an error: Traceback (most recent call last): File "C:\Python32\Scripts\setup.py", line 7, in <module> executables = [Executable("ochranka.py")]) File "C:\Python32\lib\site-packages\cx_Freeze\dist.py", line 365, in setup distutils.core.setup(**attrs) File "C:\Python32\lib\distutils\core.py", line 136, in setup raise SystemExit(gen

PHP system() args

℡╲_俬逩灬. 提交于 2020-01-04 13:10:31
问题 I have the following code that executes a C++ program and outputs it : <html> <head> <title>C++</title> </head> <body> <div><?php system("app.exe", $out); echo rtrim($out, "0"); ?></div> </body> </html> How can I make it so that you can pass arguments to the c++ program , say like this... If this was the c++ program #include <iostream> #include <string> int main(){ string input = getarg();//Not really a function, just one I kinda want to know cout << input; return 0; } Could I do something

Create a Windows executable (.exe) from Batch and Vbscript

删除回忆录丶 提交于 2020-01-04 06:24:23
问题 It is asked me to create a Windows executable (.exe) from scripts written in batch and vbscript. unluckily I don't know which tool use to realize that. Therefore Let me ask you some questions which torment my spirit Is it possible to make a such build? If it is, could you recommend me some open tools which do that? To make an exe from bat+vbs, do you think I have to modify the content of my scripts alot/a little? Thank in advance for your feedback 回答1: Bat2Exe converts batch files including

Py2Exe openpyxl importerror

旧城冷巷雨未停 提交于 2020-01-03 19:08:36
问题 I have a python application that depends on openpyxl and works well when running it through the python interpreter. However, when creating an exe with py2exe. The exe was generated but when I click on it I get an error and the following log is generated: Traceback (most recent call last): File "excelTest.py", line 1, in <module> File "openpyxl\__init__.pyc", line 30, in <module> File "openpyxl\workbook\__init__.pyc", line 5, in <module> File "openpyxl\workbook\workbook.pyc", line 16, in

Question regarding Assembly and computer programs

倾然丶 夕夏残阳落幕 提交于 2020-01-03 18:58:09
问题 I read this article: http://en.wikipedia.org/wiki/Assembly_language It says: Take, for example, the instruction that tells an x86/IA-32 processor to move an immediate 8-bit value into a register. The binary code for this instruction is 10110 followed by a 3-bit identifier for which register to use. The identifier for the AL register is 000, so the following machine code loads the AL register with the data 01100001.[4] 10110000 01100001 It explains how it is easier to write it as: MOV AL, 61h

Is it possible to replace every instance of a particular function with a dummy in a compiled binary?

久未见 提交于 2020-01-03 17:30:56
问题 Is it possible to alter the way that an existing x86-64 binary references and/or calls one particular function. Specifically, is it possible to alter the binary such nothing happens (similar to a nop ) at the times when that function would normally have executed? I realize that there are powerful speciality tools out there (ie decompilers/disassemblers) for just this sort of task, but what I'm really wondering is if the executable formats are human-readable "enough" to be able to do this sort

Normal Setups in Visual Studio

依然范特西╮ 提交于 2020-01-03 13:02:13
问题 Just wondering if there's a way to make Visual Studio 2008 Express Edition generate normal exe files that are created by the installer for my app? I am sick of the ClickOnce application files. I had all these file associations setup and now that I need to actually have an installer for my apps, the file associations setup in the code don't work because now they're "ClickOnce" app files and not normal exe files. And no, VS does not create any exe files at all for ClickOnce apps. Any help is