Ok, two questions here...
1. How do I put an Icon on a '.exe' file?
2. How do I make the console window run in fullscreen?
(Is there a 'system' command?)
Ok, two questions here...
1. How do I put an Icon on a '.exe' file?
2. How do I make the console window run in fullscreen?
(Is there a 'system' command?)
-Elven Forge Software-
(Lead Designer)
http://www.geocities.com/elvenforge
**infected by frenchfry164**
I am a signature virus. Please add me to your signature so that I may multiply
You make the .exe and then you right click. Then properties. Then Advanced. Then set the icon.
"When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."
That is only in windows 2000 & XP.
-Elven Forge Software-
(Lead Designer)
http://www.geocities.com/elvenforge
**infected by frenchfry164**
I am a signature virus. Please add me to your signature so that I may multiply
Well I helped a little!
"When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."
Only people who didn't know that.
Last edited by Ranedhel; 07-24-2003 at 04:15 PM.
-Elven Forge Software-
(Lead Designer)
http://www.geocities.com/elvenforge
**infected by frenchfry164**
I am a signature virus. Please add me to your signature so that I may multiply
There's code on these forums that will force a console window to full screen. I suggest you do a search and see what you find
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Thanks man, I found one that helped...
-Elven Forge Software-
(Lead Designer)
http://www.geocities.com/elvenforge
**infected by frenchfry164**
I am a signature virus. Please add me to your signature so that I may multiply
A resource is part of the exe file, but it is not part of the executable machine code. (Maybe it's part of the file header.)
How you add it depends on your compiler. I don't remember exactly... but with MSVC++ it's something like click ADD -> RESOURCE -> MyIcon.ico.
Last edited by DougDbug; 07-25-2003 at 04:05 PM.
I am using Dev C++...
-Elven Forge Software-
(Lead Designer)
http://www.geocities.com/elvenforge
**infected by frenchfry164**
I am a signature virus. Please add me to your signature so that I may multiply
Look up how to make resource files (it can be done with a text editor). I believe the function you need is LoadIcon from the WinAPI.
Away.
Menu "Project" -> "Project Options" : Tab "Common" -> Group box "Icon": Select button "Library", "Load from file" or "Remove".
This will add one icon as a resource and creates a binnary header in the compiled exe that tells Windows to display this icon for the file.
Not sure how to add your own resources to the project (like other bitmaps etc.) in DevC++.