11-17-2009 04:22 AM
Hi,
How can I do to get the names of all the applications running and the Refnum of the Vis ?
The purpose is to not re-open an application running and close those that I no more need.
Does the lvwutil32 DLL exist for LV 8.5 ?
Thanks,
Bruno.
11-17-2009 05:33 AM
One suggestion would be setting the configuration just opposite as mentioned here
Just set 'allowmultipleinstances=FALSE'
11-17-2009 06:00 AM
Kernel32.dll has a function called "createtoolhelpsnapshot" which can be used to get the list of all the applicaitons shown in "task manager". Refer this page and try out this dll.
Refnum of the Vis
not sure whether refnums of all the vi's can be obtained [some may be called dynamically]. Using the application instance try getting the vi list.
Post back for queries.
11-17-2009 06:58 AM
Thanks for your responses.
It is not exactly want I want but it helps me.
I've found an Vi example one day that displays all the running applications exactly like the TaskManager, but I don't remenber where...
Do you have such examples ?
Regards,
Bruno.