06-17-2005 10:21 AM
06-17-2005 02:21 PM
06-20-2005 02:50 AM
@LuI wrote:
Hi,
I've got a kind of mystic problem:
A main UI process starts some child processes from a template.
To do this, it opens a Ref to the vit (instantiates it), loads some data (including 'its' VI-Ref) into it and starts it as a new process (run VI-method).
This seemed to work, when I instantiated a whole bunch of those processes and started them later, whenever a new process was needed. I have changed this behaviour to instantiate _and_ start 'em when needed, because this way main can run continuously.
Now with this change, the VI Ref that is sent to the newly instantiated process is invalid, causing error -1026 when I try to do anything with it (for example opening the FP).
Any clue?
Of course I can obtain a Ref to the new instance inside it, but than there is nor 'connection' from main to the new instance?!!!
Confused ;-()