From: "Andrew Jones" Newsgroups: comp.os.msdos.djgpp References: <386EAFC9 DOT ABA7B0E7 AT address DOT in DOT message DOT body> Subject: Re: How can I give .exe icons? Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Fri, 07 Jan 2000 11:35:44 GMT NNTP-Posting-Host: 216.154.7.41 X-Complaints-To: abuse AT idirect DOT com X-Trace: quark.idirect.com 947244944 216.154.7.41 (Fri, 07 Jan 2000 06:35:44 EST) NNTP-Posting-Date: Fri, 07 Jan 2000 06:35:44 EST Organization: Internet Direct - http://www.mydirect.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Phil wrote in message news:386EAFC9 DOT ABA7B0E7 AT address DOT in DOT message DOT body... > Hi, > > This isn't strictly a djgpp query, but I thought most folks here would > be able to answer it. > > When I run some c++ code with rhide, it creates an .exe file which runs > in a dos window if double clicked. I've come across this kind of file > type before, and managed sometimes to change the executable's icon with > MircroAngelo. The problem with the executables which rhide creates is > that MicroAngelo doesn't recognise the files as having any 'icon > resources'. > Is there a simple way to make 'space' within the file for an icon to be > 'attached'? > > Cheers. > Phil. You can't attach an Icon to a DOS program. Windows programs (NT/9x/console) usually have a section in their executable file for resources. In this section is stored the information for it's dialogs, icons, bitmaps, strings, menu's and almost anything else you can think of under the sun. This section does not exist in DOS executables. Andrew Jones xluminous AT hotmail DOT com