[fpc-pascal]Links in Windows
Marco van de Voort
marcov at stack.nl
Wed Oct 17 08:57:14 CEST 2001
> On Tue, Oct 16, 2001 at 05:49:30AM +0200, Marco van de Voort wrote:
>
> > > how can i create Links in Windows?
> >
> > Easiest way is via M$'s shortcut.exe.
>
> Errm, pitty.
> Is it freeware? :*)
It is in the resourcekits. Don't know if those are free.
> > IIRC the Jedi JCL has a real routine for that.
>
> Is that already available for FreePascal?
Yes/No. No it isn't in its entirity, but large parts compile with some
effort.
> > > Is it possible to put icons into fpc programs?
> > windres.exe, it is in the manual somewhere IRC. Just grep the HTML files for
> > ICON or so :)
>
> Okay, now I found that in the programmers guide, chapter 12.
>
> I experimented with it, but I couldn't get it going first.
> Then I found the solution:
> It just works when you set {$APPTYPE GUI}
> This has only one litlle disadvantage:
> my program doesn't run anymore, but who cares. :-\
> Okay, I forget it.
Hmm..... That seems to be a common limitation. If I look in my win2000 windows
directory, the console programs don't have icons too.
More information about the fpc-pascal
mailing list