exe

Which programming languages that can generate self contained windows .exes?

心不动则不痛 提交于 2019-12-21 07:13:33
问题 I want to make an easy to deploy Windows application and was was wondering which programming systems can create totally self contained Windows .exe files? As a plus, if the same can be done with MacOSX and Linux from the same source this would be a bonus. I took a look at Realbasic but they have since abandoned the single .exe concept. update: i am looking for something that can run from Windows XP up to Windows 7, no matter what version of .NET is installed. Is this even possible? 回答1:

Error when creating executable file with pyinstaller

孤街醉人 提交于 2019-12-21 05:38:15
问题 I'm trying to create an exe for my python script using pyinstaller each time it runs into errors which can be found in a pastebin here. Also when I double click the exe file it shows this error: C:Users\Afro\AppData\Local\Temp_MEI51322\VCRUNTIME140.dll is either not designed to run on windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000007b and then

c++ how to run an .exe file whose contents are stored in a char array?

余生颓废 提交于 2019-12-21 05:28:05
问题 I'm making a specific program and i just wondered if I could do this: run a file whose contents are stored in a char array ON WINDOWS. this is the code that reads the executable and stores it in a char array: filetoopen.open (C:\blahlbah.exe, ios::binary); filetoopen.seekg (0, ios::end); length = filetoopen.tellg(); filetoopen.seekg (0, ios::beg); buffer = new char [length]; filetoopen.read (buffer, length); filetoopen.close(); I heard something about RunPE and I did some searching, I haven't

Extract internal EXE info

有些话、适合烂在心里 提交于 2019-12-21 05:22:21
问题 Windows EXE files have some metadata like CompanyName , FileVersion , InternalName , ProductName , OriginalFileName , ProductVersion , etc. How can I extract such metadata from using PHP? 回答1: I got curious about this, so I decided to write this function: function getFileVersionInfo($filename,$encoding='UTF-8'){ $dat = file_get_contents($filename); if($pos=strpos($dat,mb_convert_encoding('VS_VERSION_INFO','UTF-16LE'))){ $pos-= 6; $six = unpack('v*',substr($dat,$pos,6)); $dat = substr($dat,

How To Export exe files in Visual Studio With All Used Files

谁说胖子不能爱 提交于 2019-12-20 15:27:21
问题 So I have been working on a few projects using audio and images from files in Visual Studio C++. As of now they are just test projects, but I am going to be moving now towards making 2D games for fun using SFML and a few different audio libraries. The problem is this, I want to give out my games to others so they can play and test them, and I may try to develop some sort of Multiplayer for some, thus increasing my desire to give it out to others, however I do not know how I can give them the

How Can I convert Java To Exe [duplicate]

混江龙づ霸主 提交于 2019-12-20 10:09:05
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: Compiling a java program into an exe Hi, I'd like to convert my java application to exe file which is not depends on a pre installed JRE file. Which tool can do so? I prefer to converty my application to a real exex file. Thanks, Eyal. 回答1: The beauty of java is that it is platform independent. So, converting it to a platform-dependent executable is a great sin: it kills the very purpose of java! But if you're

Cannot run the bat file when exe file is created

放肆的年华 提交于 2019-12-20 07:56:32
问题 I hava a batch-file appplication which I can run in cmd and when I use inno-setup compiler it runs even in the compiler. When the .exe file is created I could not open the application. And I tried running in cmd.exe then it shows like this: Error: Could not find or load main class com.il.MainApplication Caused by: java.lang.ClassNotFoundException: com.il.MainApplication 来源: https://stackoverflow.com/questions/59289787/cannot-run-the-bat-file-when-exe-file-is-created

C# .bat file execution with Error & Output redirection

眉间皱痕 提交于 2019-12-20 05:18:11
问题 I have a .bat file to be executed. Inside that .bat file, at its end is that code START _file_creator.bat %some_arg_name% ENDLOCAL EXIT I don't want to show the window during the execution and also I must wait until the operation doing by this .bat file is completed and then terminate the execution (at the end of the operation I see the standard text "Press any key to continue"). I need also to check the output and errors by that file, so I'm trying to use that code: System.Diagnostics

‘error 26 - error locating server’ when launching C# exe located on NW drive from Win7; MSSQL

情到浓时终转凉″ 提交于 2019-12-20 04:07:58
问题 I have several C# programs utilizing LINQ to SQL classes . If I put the exe files on a network drive and execute them from there, I get the ‘ error 26 ’, but only when I do it from Win7 . Step by step Create a new C# project (I use VS 2010 Premium on an XP machine). Add new ‘LINQ to SQL classes’. Drag and drop some table into the data context (from the server explorer). The database(s) I’m using are all MSSQL on remote servers. On the question: “The connection string contains credentials with

3rd Party Libraries and Py2exe

别来无恙 提交于 2019-12-20 03:53:17
问题 How would I go about bundling, say, Beautiful soup into an exe along with my code using py2exe? The code I am using for my setup.py right now is from distutils.core import setup import py2exe # equivalent command line with options is: # python setup.py py2exe --compressed --bundle-files=2 --dist-dir="my/dist/dir" --dll-excludes="w9xpopen.exe" options = {'py2exe': { 'compressed':1, 'bundle_files': 1, 'dist_dir': "exe/dist/dir" 'dll_excludes' }} setup(console=[''], options=options,zipfile =