cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Opening multiple files in explorer with
Opening multiple files in explorer with one instance of my application?
Oct 10, 2014 at 10:27pm UTC
ahcfan
(139)
If I select multiple files in explorer and hit enter it opens each file in a separate instance of my application. What do I need to do to get all the files to be passed on the command line in only one instance of my application?
Last edited on
Oct 11, 2014 at 12:49am UTC
Oct 11, 2014 at 4:58pm UTC
ahcfan
(139)
Anyone have an idea?
Oct 11, 2014 at 6:31pm UTC
duky
(18)
You'll need to fiddle around with synchronization objects and inter-process communication to achieve what you are after.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686364
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365574
http://stackoverflow.com/questions/8799646/preventing-multiple-instances-of-my-application
Topic archived. No new replies allowed.