How an exe file execute???
-
How an Exe file excute? Give me a example . Such as : Program a exe file that when it execute, it will show "Hello WORLD" on the screen. Thanks Ask More - Learn More JohnJone
huh ? you want to know how the OS "runs" an executable or how you can create a program that prints "hello world" ?
Maximilien Lincourt Your Head A Splode - Strong Bad
-
How an Exe file excute? Give me a example . Such as : Program a exe file that when it execute, it will show "Hello WORLD" on the screen. Thanks Ask More - Learn More JohnJone
-
How an Exe file excute? Give me a example . Such as : Program a exe file that when it execute, it will show "Hello WORLD" on the screen. Thanks Ask More - Learn More JohnJone
here is a simple example open notepad. copy and paste this in ************************************ ipconfig /all > C:\ip.txt ************************************ select file save as name "ip.cmd" <--- without quotes in the file type drop list choose "All files" <---- without quotes save it to the desktop locate ip.cmd on the desktop and double click it next open your c:\ drive and open the ip.txt file it should show your ip address, mac address, dns servers etc. this is a simple .exe/.cmd/ etc file .exe means execute this "Code" .cmd means execute this "command" different file extentions but sme results in one of my vb applications, i can do this as a example ************************************** Private Sub Command1_Click() ShellExecute Me.hWnd, "Open", "C:\RMSC LOGIN\AdminHelp.html", "", "", 1 End Sub ************************************** all this is, is a command button that executes & opens a html file in internet explorer hope this helps
-
here is a simple example open notepad. copy and paste this in ************************************ ipconfig /all > C:\ip.txt ************************************ select file save as name "ip.cmd" <--- without quotes in the file type drop list choose "All files" <---- without quotes save it to the desktop locate ip.cmd on the desktop and double click it next open your c:\ drive and open the ip.txt file it should show your ip address, mac address, dns servers etc. this is a simple .exe/.cmd/ etc file .exe means execute this "Code" .cmd means execute this "command" different file extentions but sme results in one of my vb applications, i can do this as a example ************************************** Private Sub Command1_Click() ShellExecute Me.hWnd, "Open", "C:\RMSC LOGIN\AdminHelp.html", "", "", 1 End Sub ************************************** all this is, is a command button that executes & opens a html file in internet explorer hope this helps
No, i dont want to create Exe like that. I want to program with it by using C/C++. For instance, I want to know all about Exe header, so what exe header use for? How can i manage its header? Then, i want to know how to create a file that will execute its information, needn't any program. (where in the exe file i will insert data to execute, and how i do that?) Thanks anyway Ask More - Learn More JohnJone
-
huh ? you want to know how the OS "runs" an executable or how you can create a program that prints "hello world" ?
Maximilien Lincourt Your Head A Splode - Strong Bad
-
No, i dont want to create Exe like that. I want to program with it by using C/C++. For instance, I want to know all about Exe header, so what exe header use for? How can i manage its header? Then, i want to know how to create a file that will execute its information, needn't any program. (where in the exe file i will insert data to execute, and how i do that?) Thanks anyway Ask More - Learn More JohnJone
I want to program with it by using C/C++. You need a compiler. ( if you're on Windows, use Visual Studio ). I'm not sure what you mean by Exe Header ( or what you want to say by "Exe Header" ) ? are you talking about
#include
headers ? or talking aboutPortable Executable File
( executable file format ) Portable Executable File
Maximilien Lincourt Your Head A Splode - Strong Bad
-
No, i dont want to create Exe like that. I want to program with it by using C/C++. For instance, I want to know all about Exe header, so what exe header use for? How can i manage its header? Then, i want to know how to create a file that will execute its information, needn't any program. (where in the exe file i will insert data to execute, and how i do that?) Thanks anyway Ask More - Learn More JohnJone
You need to specify what you want to do, no-t throw out bits and opeices of what yu want to do you asked for an example that is what you got here is the hello world example #include main() { cout << "Hello World!"; return 0; } One more thng, you need to compile any .cpp , .h ,.c file in order for it to run
-
You need to specify what you want to do, no-t throw out bits and opeices of what yu want to do you asked for an example that is what you got here is the hello world example #include main() { cout << "Hello World!"; return 0; } One more thng, you need to compile any .cpp , .h ,.c file in order for it to run
-
What I understand is this: He wants to make his own compiler, and wants to know the Portable Executable format so he can translate C++ code to the EXE format through his own C++ code.
Oh.Yes, i want to know what Executable file structure (or Portable file in windows). Because i want to push my program into it, so everytime i double click to this file, it will execute itselft, not need any other program. My Program is made by C++, but i dont want to compile it to exe file(build). I want to make exe file by myself. Clearly, i want to make a compress file that will be execute itself. I knew the compress algorithm (i use LZW) and did successfuly in borland c++. Now, i want to make a exe file for the compressed file so that it will uncompress to the original file when run it. So, How i can push my LZW into executable File (or Portable file). Ask More - Learn More JohnJone
-
Oh.Yes, i want to know what Executable file structure (or Portable file in windows). Because i want to push my program into it, so everytime i double click to this file, it will execute itselft, not need any other program. My Program is made by C++, but i dont want to compile it to exe file(build). I want to make exe file by myself. Clearly, i want to make a compress file that will be execute itself. I knew the compress algorithm (i use LZW) and did successfuly in borland c++. Now, i want to make a exe file for the compressed file so that it will uncompress to the original file when run it. So, How i can push my LZW into executable File (or Portable file). Ask More - Learn More JohnJone
ok, now we're getting somehere ... look at http://www.codeproject.com/win32/selfextract.asp
Maximilien Lincourt Your Head A Splode - Strong Bad