|
-
Nov 1st, 1999, 12:02 PM
#1
Thread Starter
New Member
I can check if a previous instance of my app is running with App.PrevInstance but how do I pass command line parameters from the second instance to the first without using a timer event and the registry?
Any help would be much apreciated.
-
Nov 1st, 1999, 12:23 PM
#2
_______
You could just write them to a file and access the file on open or close.
Wayne
-
Nov 1st, 1999, 12:28 PM
#3
-
Nov 1st, 1999, 12:28 PM
#4
Thread Starter
New Member
Thanks, but it sounds even slower than the registry way and I would still need a timer event to check the file. I want a way with no overheads.
I need some way to call a procedure in the first instance or something. Any ideas??
-
Nov 1st, 1999, 12:36 PM
#5
Guru
Calling a procedure in the first instance can be done with SendMessage with a custom message. Want an example?
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
-
Nov 1st, 1999, 04:18 PM
#6
Thread Starter
New Member
Yes Please,
I have used an API sendmessage thing with Winamp but I have no idea how to code my app so it accepts them. An example would be a great help.
Ta.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|