Hello Alfonso, On 11/27/2005, you wrote:
> I don't remember exactly when I changed it, probably in some 5.x > version, anyway it was defined as TAG_USER so it was a big mistake to > had left that so in the public release. I had to decide to stay at > that no-sense value or to fix it: because of URL_OpenA() is "never" > used really with tags, I decided to change it. Also note that other > tags are used in a preferences application and there is no other > OpenURL preferences application around, but the one in the OpenURL > archive. I believe that the C:OpenURL command uses tags and the OS4 equivalent that I wrote and uploaded to OS4Depot uses tags. Neither of them work properly because they were compiled with the old includes and use the original Tags. Take a look at Mailtext.mcc prefs in MUI and you will see that it uses the C:Openurl command to send URL's to a browser with arguments. I suppose you could recompile C:Openurl to use the new tag base but that won't help other old programs that uses the old tags. Openurl.library has been around a long time and I'm sure that nobody knows all the the programs that use it or whether they use any tags with URL_Open. > > I am setting up sf pages for quite all my stuff, anyway I was always > opened to give away sources to anybody that gently asked for. F.e. I > sent TheBar sources to 4 different persons for an os4 port, which, > btw, never happened. > > Ciao. Alfonso. What leads you to believe that TAG_USER was a big mistake?? Here is what the utility.h library include file says: /* differentiates user tags from control tags */ #define TAG_USER (1UL<<31) /* If the TAG_USER bit is set in a tag number, it tells exex.library that * the tag is not a control tag (like TAG_DONE, TAG_IGNORE, TAG_MORE) and is * instead an application tag. "USER" means a client of exec.library in * general, including system code like Intuition or ASL, it has nothing to do * with user code. */ It's actually the correct tag to use. For example, look at the amigaguide.h library include which has: /* Attributes accepted by GetAmigaGuideAttr() */ #define AGA_Dummy (TAG_USER) #define AGA_Path (AGA_Dummy+1) #define AGA_XRefList (AGA_Dummy+2) #define AGA_Activate (AGA_Dummy+3) #define AGA_Context (AGA_Dummy+4) Using TAG_USER in your tag base assures you that you won't accidently assign a system value (TAG_DONE, TAG_SKIP etc.). Maybe someone more knowledgable can step in and comment here but I think you've made the new openurl.library incompatable with older programs for an invalid reason. I think the openurl tag base needs to be changed back to TAG_USER for backward compatability. Granted, something like "TAG_USER + value" (value being any small unsigned long) might have looked better but I don't think there is anything wrong with a tag base of "TAG_USER". If you look through the developer CD's you will find "TAG_USER" used in a lot of example programs and contribution programs. Regards, -- Jeff ------------------------ Yahoo! Groups Sponsor --------------------~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/16uqlB/TM --------------------------------------------------------------------~-> Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
