I build my Labview project to DLL format file and then invoke in the CVI.
But i am troubled with Path format.
How can I convert Char/String to Path.
Thanks
Yuki
The function is as fellow.The data type of " *VideoFilePath" is Path???
#include "extcode.h"
#pragma pack(push)
#pragma pack(1)
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
LVBoolean status;
long code;
LStrHandle source;
} TD1;
void __stdcall NI5431DownloadVideoFileToNI5431(char ResourceName[],
double OutputLevelMVIRE, LVBoolean *DigiSync, TD1 *errorIn,
Path *VideoFilePath, unsigned short *DetectedVideoFormat, TD1 *errorOut);
long __cdecl LVDLLStatus(char *errStr, int errStrLen, void *module);
#ifdef __cplusplus
} // extern "C"
#endif
#pragma pack(pop)