View previous topic :: View next topic |
Author |
Message |
Andrej08
Joined: 31 Aug 2010 Posts: 51
|
Posted: Tue Aug 31, 2010 8:07 pm Post subject: Form icon example |
|
|
I can't seem to get the icon example to work. The icon doesn't get displayed in the window, and I get no runtime errors (with -debug).
I've zipped the files with a build script that I use:
http://dl.dropbox.com/u/9218759/icontest.zip |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
HateWork
Joined: 20 Oct 2007 Posts: 13
|
Posted: Wed Sep 01, 2010 6:30 pm Post subject: |
|
|
Hi Andrej,
You forgot to include the compiled resource file in your build script.
Modify your batch file to look like this:
Code: | rcc -32 foo.rc
dfl foo.d -debug -gui foo.res |
Add the "foo.res" file and that's it. I tried it and works just fine. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Andrej08
Joined: 31 Aug 2010 Posts: 51
|
Posted: Thu Sep 02, 2010 8:39 am Post subject: |
|
|
HateWork wrote: | Hi Andrej,
You forgot to include the compiled resource file in your build script.
Modify your batch file to look like this:
Code: | rcc -32 foo.rc
dfl foo.d -debug -gui foo.res |
Add the "foo.res" file and that's it. I tried it and works just fine. |
Ah, right you are. This should probably be mentioned in the example. (or maybe I should use my brain the next time :p) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|