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 *path, char *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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.