I have to set the auto dispose preoperty to 'true' and wait until done
to 'false'. So if I dont have the application builder include the
front panel ( which is what I want exactly) then would the reference
be not closed by itself ?
How can I prevent it from happening ? Do I have to do it
programatically by making the VI hold a reference to itself till the
time that running instance is required? I think I tried this but it
does not work. If you feel that it should have worked then I might try
again. My program actually is a kind of server that spawns a new
thread everytime a request comes from the client and this server needs
to be running as a windows NT service . The hierarchy on the server
side is that it runs a re-entrant VI (that has a control on the front
panel that need to be set at the time of spawning).