LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
40tude2

API to access various CVI sub directories (in Toolbox/Directory Utilities for example)

Status: New

Basically the API should provide

GetCVIDir(char **path);                                    // return an array of paths to the different CVI versions installed

GetCVIFilesTemplateDir(const char *path2CVI, char *path);  // if path2CVI is NULL, path target the most recent vesion of CVI installed

GetCVIProjectTemplateDir(const char *path2CVI, char *path);

GetCVISampleDir(const char *pathchar *path);

...

 

It is always possible to write such functions but for example, for the samples directory this is a pain because you need to resolve the CVI Samples.lnk file using IShellLink interface, OLE32 etc.

Best regards, Philippe