From: | David McMinn |
Date: | 8 Sep 2000 at 15:27:52 |
Subject: | Re: AppIcons |
Hi Neil
> Is there a known problem with this commnd under DOpus, because a few lines
> after the AppIcon code, I open a file to read from it, and in DOpus, the
> AppIcon inherits the name of that file for some bizzare reason.
Not having DOpus, I'm not sure. However, if it is doing this, then it sounds
like the problem Amorel was having with the windowtitle function - in that
because you've used a temporary string (i.e. just doing "blah") and the library
would seem to not take a copy and just use the string straight away it "loses"
the correct string.
> Is there a way round this?
Try using a string variable:
appname$="My Appicon :)"
appfile$="blah.info"
If AddAppIcon(0,appname$,appfile$)=0 Then End
If that still doesn't work, you could use the OS functions directly ;) That
would have the benefit of using OS3.5 functions too, since they aren't
supported by any library I know of.
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie