exe

Create a simple python executable program and an icon to it - Hello World

浪子不回头ぞ 提交于 2019-12-10 12:10:08
问题 I am trying to create a simple python executable program - Hello World by following this link https://mborgerson.com/creating-an-executable-from-a-python-script. The steps I took is first I create a python program, example: print("Hello, World!") I save this py program file into python script C:\Users\d\AppData\Local\Programs\Python\Python35-32\Scripts Then I install PyInstaller by going to command line point to directory python script and type pip install PyInstaller . After this, in command

Jenkins cannot run exe batch commands?

旧街凉风 提交于 2019-12-10 11:53:40
问题 Ultimately trying to run some NUnit web tests, but I found that Jenkin's would stop before running the batch command path\to\nunit.exe . So I just tried running a new job that consists of a single build step: Execute Windows batch command C:\Windows\system32\calc.exe . Here is my console output: Started by user anonymous Building in workspace C:\Program Files (x86)\Jenkins\jobs\[my job]\workspace [workspace] $ cmd /c call C:\Windows\TEMP\hudson8921839713501090632.bat C:\Program Files (x86)

How to compile SDL program and run it without DLL

一世执手 提交于 2019-12-10 10:54:24
问题 is it possible to compile SDL library program into exec and run it without having "sdl.dll"? for example let say i wrote sdl program and it works and everything but the thing is to run the program on windows, i need to have "sdl.dll" within the same folder or system folder. is it possible to compile it so that i can just take the exec with me without needing to have "sdl.dll" along with it? i am using visual studio 2010 express. 回答1: Typically the procedure for this kind of stuff is: Download

How do I make my program, written in Java, usable to other people?

邮差的信 提交于 2019-12-10 10:44:33
问题 So I've written a funny little program and I want to show it to some of my friends. My friends, not being programmers, have no idea what to do if I send them the folder containing the necessary classes and files. I want to be able to email them something (or put it on a cd/thumbdrive) that they can then double click and have it run the program. I have absolutely no clue how to make this happen. I'm taking a class and we use linux computers (I use a mac when I'm not in class) and we have to

Can one detect how .exe was launched?

百般思念 提交于 2019-12-10 10:04:14
问题 I want to be able to detect whether a given exe was shellex'd programmatically or if it was entered and executed interactively in, say, CMD.EXE. Is there anything about the way an exe is launched that indicates the mechanism that was used to launch it? Context: Windows XP, Visual Studio 6 languages. 回答1: There might be an easier way, but the only way I can think of is to check the parent process name, which involves a few steps: Get the ID of the parent process. Get the handle of the process,

how to make an executable version of a WPF Kinect Application?

一曲冷凌霜 提交于 2019-12-09 17:35:06
问题 I have made a Kinect Application in Microsoft Visual Studio 2010. I need to make an exe of the application which can run on any windows based system. If I need to do that than is there any requirements that the system should fulfil? and If yes, then how do I do that? I tried to use the exe in application/bin/debug/application.exe by copying it in another folder but it shows an error but if I run the exe from the bin/debug/application.exe it works. Am I missing something here or is it the only

Is it possible to build exe on Vista and deploy on XP using py2exe

一曲冷凌霜 提交于 2019-12-09 16:39:24
问题 I have created some program using python on Windows Vista. But I want to deploy it on Windows XP. Is it necessary to make new build on windows XP? Or there is possibility to make build that will work on both of these systems? EDIT (EDIT 2 - very simple program does not work also): My setup: from distutils.core import setup import py2exe setup(console=['orderer.py']) Using dependency explorer i checked that dependencies are: msvcr90.dll kernel32.dll +ntdll.dll Almost solved: I figured out that

Process.Start() not starting the .exe file (works when run manually)

♀尐吖头ヾ 提交于 2019-12-09 14:57:59
问题 I have an .exe file that needs to be run after I create a file. The file is successfully created and I am using the following code to run the .exe file after that: ProcessStartInfo processInfo = new ProcessStartInfo(); processInfo.FileName = pathToMyExe; processInfo.ErrorDialog = true; processInfo.UseShellExecute = false; processInfo.RedirectStandardOutput = true; processInfo.RedirectStandardError = true; Process proc = Process.Start(processInfo); I also tried with a simple Process.Start

Compile stand alone exe with Cygwin

末鹿安然 提交于 2019-12-09 10:43:49
问题 I want to make a stand-alone exe with cygwin. I have two options: Staticly link cygwin1.dll If I can statically link cygwin1.dll, then I can get a stand-alone exe. Merge cygwin1.dll with myprog.exe If I can merge cygwin1.dll with my program, the I can get a stand-alone exe. Do not suggest that I use IlMerge. This will not work because I didn't compile my program with .NET. Are any of these options possible? If not, is there anything that is possible with this dilemma? Thanx! 回答1: I can see

How to deploy a Win32 API application as an executable

浪尽此生 提交于 2019-12-09 06:38:01
问题 How can I deploy my Win32 application as an EXE application so that others (who don't have VC++ installed) can use it? I am using VC++ 2010 on Windows 7. 回答1: If you switch to "Release" mode when you compile your finished program (rather than "Debug", which you use for debugging it during development), you should get an executable that will run on a computer without Visual Studio installed. However, that executable will still require the appropriate version of the C runtime library to be