08-04-2008 09:55 AM
08-04-2008 10:52 AM
08-04-2008 10:54 AM
These files are not include in the runtime engine.
The builder will only include those VIs into the .exe which are part of th VI Hirarchy. Other VIs will not be included.
You must deploy the missing VIs as support VIs together with missing runtime DLLs. In your target the files will be located in the following folders:
Missing DLLs in your target folder. You will have missing DLLs in the case your main application will not include e. g. the VI "Read PNG File.vi" but one of your plugins will. Then you need the lvpng.dll too.
Missing vi/user/instr/.lib files in a subfolder vi/user/instr.lib. These folders are the default search paths. Just create the same structure as in your development environment.
Create a VI which will do the following steps:
1: Load all toplevel and dynamic VIs.
2: use App.AllVIsInMemory and open each VI to get its path
3: Strip the VI names from the paths and sort the paths
4: Eliminate all duplicate paths
Now you have a list of all folders and LLBs which you must add to your deployment.