> >Have the installer associate an extension, say ".dqs" > >Instead of naming searches freedb.xml, name them freedb.dqs > >When anyone double clicks or otherwise opens a dqs file, as a > result of the > >association it is copied to the searches folder (and if possible, dqsd is > >refreshed). > > It's not a bad idea. > > I think we'd need to distribute a .exe as well as the .dll, but that's no > big deal. Or perhaps we could make the association to rundll32 and use > that to call an exported function from the dll. > > What did you think of the idea, Glenn?
I think the general idea is a good one, but I'm having a little trouble getting my brain around what the default action should be... If freedb.dqs is double-clicked, it just copies itself to the correct install folder? Would the .dqs file be the same as the resulting file in the 'searches' directory? If so, I guess double-clicking on a .dqs alreaady in the searches folder would have to detect that it was already installed and do nothing. It would probably be cool to have all the functionality in the DLL which was invoked by rundll32, just to save the hassle of creating another .exe... maybe. Glenn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ DQSD-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-devel
