|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
When I right-click on an executable file and select Properties,
sometimes there's a Version tab that tells you various info about the
program. And sometimes there isn't. Most particularly, when I try it
with a program that *I* compiled, there's no tab. Any idea how to add
one? (And while we're on the subject, how do you add an icon?)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible <voi### [at] devnull> wrote:
> (And while we're on the subject, how do you add an icon?)
That depends a lot on the language and compiler you are using.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> Invisible <voi### [at] devnull> wrote:
>> (And while we're on the subject, how do you add an icon?)
>
> That depends a lot on the language and compiler you are using.
Well, Haskell compiled by GHC. But GHC actually uses GNU tools such as
GCC, GAS and LD behind the scenes. (Yes, even on Windoze. They ship them
with GHC.)
If it's just a case of linking a suitable blob of binary data into my
program, it would be quite trivial to ask LD to do that. If it involves
something more complex... I guess I'll just not bother with it. ;-)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible wrote:
> Warp wrote:
>> Invisible <voi### [at] devnull> wrote:
>>> (And while we're on the subject, how do you add an icon?)
>>
>> That depends a lot on the language and compiler you are using.
>
> Well, Haskell compiled by GHC.
How did I know Andrew was going to say that? :-)
John
--
"Eppur si muove" - Galileo Galilei
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> Well, Haskell compiled by GHC.
>
> How did I know Andrew was going to say that? :-)
GEE, LET ME THINK...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible <voi### [at] devnull> wrote:
> Well, Haskell compiled by GHC. But GHC actually uses GNU tools such as
> GCC, GAS and LD behind the scenes. (Yes, even on Windoze. They ship them
> with GHC.)
> If it's just a case of linking a suitable blob of binary data into my
> program, it would be quite trivial to ask LD to do that. If it involves
> something more complex... I guess I'll just not bother with it. ;-)
I have no idea how you define an icon for a Windows application if
the compiler doesn't have direct support for it.
With Visual Studio you simply import an .ico file as a resource, and
that's it. Nothing else is needed. I don't have the faintest idea about
how you do it with other compilers.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> I have no idea how you define an icon for a Windows application if
> the compiler doesn't have direct support for it.
>
> With Visual Studio you simply import an .ico file as a resource, and
> that's it. Nothing else is needed. I don't have the faintest idea about
> how you do it with other compilers.
OK, fair enough.
According to MSDN, it looks like I might be able to do this using the
command-line "resource compiler" tool, but we'll see...
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Invisible wrote:
> When I right-click on an executable file and select Properties,
> sometimes there's a Version tab that tells you various info about the
> program. And sometimes there isn't. Most particularly, when I try it
> with a program that *I* compiled, there's no tab. Any idea how to add
> one? (And while we're on the subject, how do you add an icon?)
Apparently icons, version info and so forth are called "Windows
resources". Apparently the following program allows you to manipulate them:
http://www.wilsonc.demon.co.uk/d10resourceeditor.htm
With this, it's a 20 second job to add an icon or some version data to
an arbitrary compiled binary program.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Orchid XP v8 wrote:
> Apparently icons, version info and so forth are called "Windows
> resources". Apparently the following program allows you to manipulate them:
>
> http://www.wilsonc.demon.co.uk/d10resourceeditor.htm
>
> With this, it's a 20 second job to add an icon or some version data to
> an arbitrary compiled binary program.
Actually, adding version information just makes a blank version tab
appear. And the program crashes a lot. But it *is* just about possible
to add an icon.
Anybody know of a good pixel painter?
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |