7
голосов
3ответов
31978 просмотров

JMP to absolute address (op codes)

I'm trying to code a exe packer/protector as a way of learning more about assembler, c++, and how PE files work. I've currently got it working so the section containing the EP is XORed with a key and a new section is created that contains my decryption code. Everything works out great except when...

1
голосов
3ответов
11786 просмотров

Strip Executable (Windows)

I've heard that strip is a program that makes an executable smaller. I've tried to turn it on from my compiler (for Python) but when it comes to run strip I just see "strip is not recognized as a command or as a program" error from the Command Prompt. So where do I get the executable of strip...

116
голосов
23ответов
188359 просмотров

Get path of executable

I know this question has been asked before but I still haven't seen a satisfactory answer, or a definitive "no, this cannot be done", so I'll ask again! All I want to do is get the path to the currently running executable, either as an absolute path or relative to where the executable is invoked...

0
голосов
2ответов
2872 просмотров

Not able to run my jar file on Windows

I have these files board.class and x4.class (x4.class has main() method). To jar these files, I wrote jar cf x4.jar *.class and got a x4.jar file. I copied this x4.jar file to my Desktop (on windows Vista) and double-clicked it. I am getting this error: Failed to load Main-Class manifest...

3
голосов
3ответов
639 просмотров

How to create an "empty" space in an executable at a definite address (gcc,linux)?

What I essentially want to do is have another program write data into this "empty space" for the executable to "work" on I thought of appending a signature to the application and then writing the data, searching for it later, but that doesn't quite sound right... Now, other important thing ...

10
голосов
3ответов
18300 просмотров

Running an executable with parameters in C++ and get the return value;

How do you run an executable with parameters passed on it from a C++ program and how do you get the return value from it? Something like this: c:\myprogram.exe -v

36
голосов
4ответов
18460 просмотров

what's in a .exe file?

So a .exe file is a file that can be executed by windows, but what exactly does it contain? Assembly language that's processor specific? Or some sort of intermediate statement that's recognized by windows which turns it into assembly for a specific processor? What exactly does windows do with the...

0
голосов
2ответов
270 просмотров

cocoa + .app file

i have an executable for my cocoa application as xyz.app file. But when i copy this on windows, it is showing this as a directory with all the resource files and stuff. Is there any way to create a single file executable on mac also (like .exe file on windows) so as to disable the user from seei...

0
голосов
2ответов
218 просмотров

Is it possible extern a win32 application (only have exe file)

I have a application (win32 exe file) without source code. Is it possible to write a C# application and reuse some function in that win32 .exe file?

0
голосов
1ответов
217 просмотров

Can We execute an exe that is in client side?

Is there any way to execute exe(say notepad.exe) that is in client? If so.. how can i do that from server side.? I know its a security violation..still i want to know.

2
голосов
1ответов
450 просмотров

What's the advantage of making a Sinatra/Rack app into a single, locally-executable file?

I was reading the description of Vegas, which is a gem that aims to solve the simple problem of creating executable versions of Sinatra/Rack apps. I didn't know this was a problem that needed to be solved. The reason this seems of dubious benefit is because of this: Now if you run ./...

1
голосов
1ответов
111 просмотров

Starting as external .exe v/s startin as windows service, which one is more efficient from performance point of view?

I am starting software service as external .exe and than as windows services, but both time I am getting different results and wanted to ask what difference does it make with this two approaches and which one should be used if performance is the main criteria. Thanks.

0
голосов
2ответов
239 просмотров

execute my file’s Application in C#

My application creates files with a ".mhm" extension. I'd like for my application to open and process these files when I double-click them. Current behavior is that when I double-click the file, my application opens but does not process the file. How can I read the args parameter of Main() meth...

0
голосов
1ответов
177 просмотров

Open my application's files in C#?

My application creates files with the .mhm file extension. When one of these files are opened I want my application to start and open the file. Right now the application starts up but the files are not opened. What do I do?

1
голосов
3ответов
2796 просмотров

Python execute program change path

I'm trying to make a Python script run another program from its own path. I've got the execution of the other program working using os.system, but the program will crash because it cannot find its resources (wrong path, I assume). I tried adding the folder harboring the executable to the path, b...

1
голосов
4ответов
6219 просмотров

Hash of an .exe file

I'm wondering whether I will ever get a different result when producing a checksum on an .exe file before and then while or after running that file. I'm more concerned with common practice (such as producing a SHA hash of popular app like firefox.exe) than with boundary cases, but both are intere...

0
голосов
2ответов
585 просмотров

How to add exe of WPF app to Start->Programs

I have created an exe of the WPF UI application, using Setup project in the VS 2008 application. I have generated exe's and msi's in DEBUG and RELEASE mode. I am able to install the application too. But, how can I have the shortcut of it in Start-> Programs ?? Any option to be provided whil...

1
голосов
2ответов
673 просмотров

Emulate keystroke in other window

This may be a cardinal programming sin, but what's the easiest and quickest way via executable or batch file to bring focus to Window X and hit keystroke Y? This won't be reused, and X and Y can be hard-coded if necessary. edit: on a Windows machine

2
голосов
4ответов
650 просмотров

send an arbitrary number of inputs from python to a .exe

p = subprocess.Popen(args = "myprog.exe" + " " + str(input1) + " " + str(input2) + " " + str(input3) + " " + strpoints, stdout = subprocess.PIPE) in the code above, input1, input2, and input3 are all integers t...

1
голосов
2ответов
1580 просмотров

ASP.NET: Execute an external executable doesn't work

I need help with the code below. I try to convert a AutoCAD file from the format dwg to the format dwf. Then, the dwf file is downloaded and opened on the client computer using a java applet. The command used to convert the dwg file on the command-line is: C:\inetpub\wwwroot\COR-Basic\cadviewer\...

2
голосов
5ответов
9032 просмотров

Java applet as stand-alone Windows application?

I have a Java applet that is meant to run only on Windows. (It uses a 3rd party COM object; it is not cross-platform.) Is there a way to run a Java applet as a stand-alone application on Windows?

1
голосов
4ответов
1045 просмотров

How should I call a .NET exe that is distributed with my main application

I have a .NET Windows application that needs to call another .NET executable. I want to distribute this other exe as part of the main project, and was wondering what is the best way of implementing this. We don't want to take the code from this second exe and put it in the main project as we need...

2
голосов
4ответов
249 просмотров

Managing .exe files

In VB.net, how can you programmatically launch a .exe file? Is there a way to check if the file is there? I know there is some way to check using System.IO, but I have no idea. However, I have not even the slightest clue as to how to launch that .exe if it is there, so thanks for the help!

0
голосов
4ответов
249 просмотров

Is packaging scripts as executables a solution for comercial applications?

What happens when you package a script as an executable? Is this a good way to distribute commercial applications? I remember I read something a long time ago that when you package scripts as executables, at runtime the exe decompresses the scripts to a temporary directory where they get ran. If...

2
голосов
2ответов
4984 просмотров

Passing CGI arguments to an executable in Apache on Windows

I was under the impression that I could put any old executable program in the cgi-bin directory of Apache and have it be used as a CGI script. Specifically, if I have a C# program static class TestProg { static void Main(string[] args) { Console.Write("Content-type: text/plain\r...

1
голосов
4ответов
1673 просмотров

making an exe low priority

How do I run a .exe as low priority? I know I can go to task manager, and change the priority setting there manually, but is there a way that I can launch the .exe from a .bat file with a command to make the .exe run at a given priority (in this case low)? The .exe is a program that I've written ...

2
голосов
2ответов
831 просмотров

Killing the background window when running a .exe from a Python program

the following is a line from a python program that calls the "demo.exe" file. a window for demo.exe opens when it is called, is there any way for demo.exe to run in the "background"? that is, i don't want the window for it show, i just want demo.exe to run. p = subprocess.Popen(args = "demo.exe...

2
голосов
1ответов
1546 просмотров

Haxe - Generating Exe's (cpp)

I've been instructed to download and install FlashDevelop and it seems fine but I don't know how to generate exe files when writing programs in Haxe. I try to Build or Run the project in FlashDevelop BUT it just doesn't do anything. Can anybody please advise me on how to do this? Thank you

5
голосов
4ответов
521 просмотров

how to transform CLR to EXE

when we create an application in VC#, talking about .net 3.5 in particular, the are comipled to CLR, what i want is that they should be compiled to EXE executable code that doesn't require .NET Framework Environment for them to run. Is it possible

9
голосов
4ответов
7234 просмотров

Determine if an executable (or library) is 32 -or 64-bits (on Windows)

I am trying to find out if a given executable (or library) is compiled for 32-bits or 64-bits from Python. I am running Vista 64-bits and would like to determine if a certain application in a directory is compiled for 32-bits or 64-bits. Is there a simple way to do this using only the standard P...