executable

Executable size difference between VS C++ 2008 Express and Professional

We see a size difference here when building our application in VC 2008 Express vs. VC 2008 Professional (both SP1). The EXE built by VC 2008 Professional is about 10%+ smaller. We are using the exact same project files, so all the settings are the same and we're also building on the same OS with the same platform SDK, DLLs etc. installed...

passing values from exe to dll c++

so I have this executable which takes values from a joystick and outputs those values (i have the code). I want to pass those values to a dll, which is read in a program (i have the code for the dll). how can I pass those values from the exe to the dll? ...

how to create exe of a c file

i have created a small project in c and want to create its portable exe file. how can i do that?? ...

Executable directory where application is running from?

I need to get the path (not the executable) where my application is running from: System.AppDomain.CurrentDomain.BaseDirectory() When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra p...

Generate sound wave image from mp3/wav file?

Looking for a program / lib (preferably in .NET) that can take a sound file (mp3/wav/etc) and generate a sound wave image from it (similar to image below) ...

Running executable asynchronously from web application (safe solution)

What are the alternatives to System.Diagnostics API for running external EXE or BAT files under IIS hosted web application? I would like to run external EXE program from my ASP.NET-MVC web application. I don't need to wait till the program exits. I just want to start the program. The execution can take some time or it may crash, so I wo...

VB.NET: Click a button --> Launch a *.exe file...

Hello! Basically, what I want to do is launch an *.exe file when I click on a button. I want this done in VB.NET. I have Microsoft Visual Basic 2008 Express Edition. The button I have is called 'btnYES'. How can I launch an *.exe file from the click of this button? Please help! ...

Should the code being tested compile to a DLL or an executable file?

I have a solution with two projects. One for project for the production code and another project for the unit tests. I did this as per the suggestions I got here from SO. I noticed that in the Debug Folder that it includes the production code in executable form. I used NUnit to run the tests after removing the executable and they all fa...

iphone: the executable was signed with invalid entitlements

I'm trying to install my iphone app on my device for testing and whenever I try to build it I get: The executable was signed with invalid entitlements The entitlements specificed in your application's Code Signing Entitlements do not match those specified in your provisioning profile. Now I've tried adding an Entitleme...

Start an external application from a Google Chrome Extension?

How to start an external application from a Google Chrome Extension? So basically I have an executable file which does the job when you launch it. I need to be able to start it without a window (it is a console application) and pass the current URL to it in an argument, ...

Checking for a variable in the executable

Is there a way to know whether a variable is defined, by looking at the executable. Lets say I declare int i; in the main function. By compiling and linking I get an executable my_program.exe. Now, by looking inside my_program.exe, can I say if it has an int eger variable i ? ...

windows batch file to call remote executable with username and password

Hi I am trying to get a batch file to call an executable from the server and login. I have a monitoring program that allows me send and execute the script. OK here goes.... //x3400/NTE_test/test.exe /USER:student password Now this doesn't work. The path is right because when I type it in at the run menu in xp it works. Then I manu...

Running Windows programs in Linux

I've developed a Notepad kinda Windows application in VB.NET using Visual Studio 2008. Is it possible for me to run the file in the Linux environment if I install the mono-develop package? ...

Understanding EXE Internals

I was attempting to install an exe that requires a serial number before the install, which the vendor has not provided to us yet. This got my wheels turning about whether there is any information that can be gained from viewing an exe using a hex editor/VI/etc? Using VI to view an exe, I can see some sections of plain text, but it is...

How to include text files with Executable Jar

Hi guys rookie Java question. I have a Java project and I want to include a text file with the executable jar. Right now the text file is in the default package. InputFlatFile currentFile = new InputFlatFile("src/theFile.txt"); I grab the file with that line as you can see using src. However this doesn't work with the executable j...

Adding icon to gcc executable and opening in terminal.

I made a program to connect to a device via Bluetooth and send the data to the web using pure C in gcc. I won't be able to implement any GUI portion in the code right now but I need to deploy it to test users for testing. I want to have the executable with an icon so that a user can click on the executable and the program starts in the t...

Making a Ubuntu executable.

i have made a program in C using the gcc compiler. Right now it has no GUI components. So, I am basically compiling it with makefile and running it in the terminal. I need to deploy it so that the executable is standalone. So, basically I want the executable to have an icon and when clicked start the program in the terminal. Can anyone t...

executable parameter c++

if i got a c++ executable file like this: executable.exe and i want to add some parameters like: executable.exe +username = pino how do i get in c++ that i filled in pino as my username? ...

How to make an executable file in Python?

I want to make an executable file (.exe) of my Python application. I want to know how to do it but have this in mind: I use a C++ DLL! Do I have to put the DLL along side with the .exe or is there some other way? ...

Calling a windows executable (.exe) from ColdFusion app

I have no experience with ColdFusion, but I'd like to find out if it's possible to call a windows .exe file from a ColdFusion app (assuming the app and the .exe are running on the same machine) and then use the response from the .exe to pass to another method in the ColdFusion app (or for simplicity's sake just display the response in an...