As I am not able to recall what this was for or about I wanted to pickup this message myself but the link you provided is not working for me. Could one of you please send me a copy via attachment? My interest is piqued now!
from: Robert Meek at: [EMAIL PROTECTED] dba "Tangentals Design" home of "PoBoy" freeware Windows apps and utilities located at: www.TangentalsDesign.com e-mail to: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Kennedy Sent: Friday, August 05, 2005 12:45 PM To: Borland's Delphi Discussion List Subject: Re: Problem with Sendmessage steppo klein wrote: > i tryed the Sourcecode from Thread "Need to pick your brains...!" from > Robert Meek > Sat Feb 21 10:58:24 CST 2004 That's the code at the following address, for those who were wondering. http://www.elists.org/pipermail/delphi/2004-February/025154.html > I select two Tif - Images against the Contextmenu and start my Application. > > Result Application starts but only one Tif - Image is shown in my > Application. > > Why? Check the command line of the first program. I think you'll find that it has two parameters, not just one. Besides, if there are two instances starting simultaneously, the code above has a race condition. What if the second instance calls FindWindow *before* the first instance has managed to create its window? It won't have anywhere to send the atom message, and so one of the file names will be lost. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

