Go to Post FIRST has a 365 day season (366 on leap years)... - Adam Richards [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 26-04-2006, 10:29
Jack Jones Jack Jones is offline
Retired
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Waterford, MI
Posts: 964
Jack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond repute
Re: HELP!!

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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vote for the new Spotlight Icon Brandon Martus CD Forum Support 16 26-06-2004 14:32
Explain your Icon Aaron Lussier Chit-Chat 92 13-06-2003 10:49
a small request: autocad icon Brandon Martus Inventor 4 15-11-2002 18:22
I just made ginger Buddy Icon Anton Abaya Dean Kamen's Inventions 7 11-12-2001 20:51
GET YOUR SEGWAY BUDDY ICON HERE! Anton Abaya Dean Kamen's Inventions 1 11-12-2001 14:29


All times are GMT -5. The time now is 16:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi