09-09-2012 11:08 PM
I am developing an applicationg using LabVIEW. But found some difficulties.
This is an editor, and I link this app to a certain file format.
So I hope when I double click this file, My exe will load it. This could be done by read application command line.
But if my exe is runing already, I double click the file, I could not get the latest command line information.
When the exe is running, How doule click the file to send some sort of info the this exe so the exe could open a new one.
How to do this in LabIVEW?
Solved! Go to Solution.
09-10-2012 05:40 AM
If you use Application Builder to create your .exe and want to run multiple instances of the .exe you can add AllowMultipleInstances=TRUE to .ini file in the same directory as the .exe file.
//Erik
09-18-2012 02:19 AM
Yes,
I've tried this, but is there any thing to notice if using this AllowMultipleInstances=True ?
Because if I turn it to True and run multiple Applications, one of them will crash.
09-18-2012 04:50 AM
Hi,
You have to make the Vi reentrant so that it does not share the same memory location: