Multiple Instances
For testing purposes, here is a quick way to create and run multiple instances of your program:
- Don't run it yet! Once the RegisterProgramInstance() method is called, it becomes a unique program instance with an assigned Program Instance ID.
- Build (F6) your solution.
- Go to the solution's \bin\Debug folder.
- Make several copies of the contents of that folder.
- Each of those copies when run becomes a unique program instance.
If you are copying the files to a machine other than your own (the one you built the program on), be sure that all of the necessary files have been included.
