Not knowing what programing environment you're using, here's a couple of suggestions that may give you a clue...
Also - Try Googling "ICON DISCARDABLE" you may hit on one for your environment.
Here's a way to do it in Visual C++
In Borland BCC32:
Make a 16x16 Windows icon image (IrfanView has that save_as):
your_icon.ico
Make a resource file
your_resource.rc that says:
IDI_ICON1 ICON DISCARDABLE "your_icon.ico"
If you're using TMAKE to create your makefile, put this at the start of
your_program.pro:
RC_FILE =
your_resource.rc
NOTE: THat's all you should need to do. TMAKE then automagiacally generates the makefile to contain the highlighted items (included just in case you want to hardwire the makefile - good luck)
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
...
LFLAGS =
-L$(BCB)\lib -c -x -Gn -aa -Tpe c0w32.obj
LIBS = import32.lib $(QTDIR)\lib\qt.lib cw32.lib , ,
your_resource.res
...
all: $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) your_resource.res
$(LINK) @&&|
$(LFLAGS) $(OBJECTS) $(OBJMOC), $(TARGET),,$(LIBS)
|
your_resource.res: your_resource.rc
brcc32
your_resource.rc