I have some really simple code for doing this in the dpr that works very well. If you would like it e-mail me directly and I can send you a copy of a unit showing it's use. There's no need for the extra overhead some components add to things like this.
from Robert Meek dba Tangentals Design -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Kennedy Sent: Tuesday, December 06, 2005 9:28 PM To: Delphi-Talk Discussion List Subject: Re: Help to open multiple files from double click in windows Malcolm J. Kudra wrote: > Would you suggest that Andre implement your approach by using either the > TJvAppInstances component (from the JVCL) or the STFirst unit (from > SysTools), both available on SourceForge free of charge? > > Or can you suggest other existing code that would work better than > either of these but still allow Andre to re-use rather than re-invent? I'm not familiar with either of those; the one time I needed something like this was long ago, and I just wrote my own thing that used a mutex for detecting multiple instances and a thread with a mailslot to listen for commands from new instances. Overall, I think it was an elegant solution, but I've never gotten around to generalizing it for others to use. I trust JEDI to get things right, though, so I'd recommend the JVCL component. http://jvcl.sourceforge.net/ -- Rob __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
