exe

JavaFX 8 - How to build EXE with Maven & INNO

Deadly 提交于 2019-12-09 04:24:53
问题 I have not been able to successfully find a working solution on how to configure Maven to build an EXE from JavaFX with Maven. Projects set up with E(fx)clipse using the build.fxbuild work great, however I would prefer to have a maven project, with dependent modules rather the basic ANT builds. I have seen some comments on ZENJAVA - but it appears that plug in has lost all traction and is pretty much dead. Is there anything out there that can bundle an EXE from Maven? My project is an

Running .exe without copying .dlls

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-09 00:43:56
问题 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? 回答1: Yes, you have to statically link the binary. In the project settings (Configuration Properties -> C/C++ -> Code Generation), use /MT, /MTd for the

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

爱⌒轻易说出口 提交于 2019-12-09 00:28:46
问题 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

Run bat file in c# with .exe and .def code

北城以北 提交于 2019-12-08 11:54:17
问题 How can I run a bat file in C# that has the following code: tekla_dstv2dxf.exe -cfg tekla_dstv2dxf_metric.def -m batch -f *.nc1 or alternatively replicate that code in my c# program. Using this code executes the bat file but the bat file doesn't work. System.Diagnostics.Process.Start(@"C:\0TeklaBatchProcess\1-SCAD_Issue_Processing\DXF\tekla_dstv2dxf_metric_conversion.bat"); The bat file works fine if I double click it, just not through my program. Thanks 回答1: You can specify the command

Script that outputs all DLLs used by exe

↘锁芯ラ 提交于 2019-12-08 11:48:27
问题 In cmd the line tasklist /m /fi "imagename eq xxxxx.exe" > output.txt will output the DLLs used by all processes to one file. How can I separate the output to multiple txt files, each file contains the name of the process the the DLL used? 回答1: This should get you what you want: Get-Process | ForEach-Object { $procName = $_.Name Get-Process -InputObject $_ -Module -ErrorAction SilentlyContinue | Export-Csv ".\$procName.csv" -NoTypeInformation } 来源: https://stackoverflow.com/questions/50406523

Runtime.getRuntime().exec(“path to file”) runs, but program acts strange

筅森魡賤 提交于 2019-12-08 10:26:46
问题 I am making a text based launcher for a number of programs. I am using the Runtime.getRuntime().exec("path//to//file.exe")) method. The program will run, it always will, but some act weirdly or fail to find critical .dll files that are there. Others have text messed up while running etc. As you can see, these are all games which are complex and use a number of engines I don't understand. Thanks! Dead Space 3: Screen is black, game runs though. Only display seems to not be working MW3:

How to make batch file continue running when the triggered exe crashes

我是研究僧i 提交于 2019-12-08 10:23:30
问题 I have a batch script that triggers an exe (c++ code) with command line input in a loop. The code for this is something like this: for /f %%j in (file.txt) do ( "MyExe.exe" "input\MyInput_%%j.txt" ) "file.txt" contains list of input file names. The problem is, sometimes my exe crashes for some input files. When it crashes, script stops running and it requires manual intervention. How can this be corrected so that when ever exe crashes, my script could just display a message and continues

Is it possible to run an executable from a web service?

北慕城南 提交于 2019-12-08 07:44:51
问题 I have a web service and I would like to call an .exe file from within it. Is this possible? If so, how is it done? 回答1: I have done that is c# 3.5 with WCF. You can run a exe from a web service. The exe will run on the machine the service is host and with the user the service has been configured. You only have to write a normal Process.Start(...) code. So the answer is yes you can and, of course, the exe will run on the web service host and not the client. If you need more details, be more

Pyinstaller onefile doesn't find data files

自闭症网瘾萝莉.ら 提交于 2019-12-08 06:07:18
问题 I too am trying for the first time to build a simple --onefile exe which includes data files, but Pyinstaller doesn't seem to find them when building the .exe. A --onedir build seems to work fine. I'm using the --debug switch at this point as well. I am able to run the onefile executable and can see that it appears to start working. The program finds the (sys._MEIPASS) temp directory ok (prints the needed directory name as directed) but reports a "no such file or directory" error when it

Can the DllMain of an .exe be called?

泪湿孤枕 提交于 2019-12-08 05:59:35
问题 My question is not exactly the same as this one (it's not theoretical, there is only a main thread without message loop, InitInstance and ExitInstance are no fitting calls). I'm using a console app without message loop; this app loads an exe with the LoadLibrary function, so that it can use its exported functions. Bad news: the DllMain function of the exe is not called (and I verified the symbols tables, using a def file, DllMain appears correctly); the doc says it's called if the loaded