hi,every one!
I am researching that how to create the tdms(tdm)file in vc 2010 , I added the TDM C DLL in my project and
make a sample program referenced of the writefile.c ,but I have some problems as followed:
1. to create a TDM file ,the code is
DDCFileHandle file;
int ret = DDC_CreateFile ("C:\\1.tdm", "TDM", "", "", "", "", &file);
with this two lines, the 1.tdm file was displayed in the C: , but the file was not created successed,
because the "ret" value is -6211( DDC_StorageCouldNotBeOpened), which was defined in nilibddc.h.
2. if I want to create a TDMS file ,the code is
DDCFileHandle file;
int ret = DDC_CreateFile ("C:\\1.tdms", "TDMS", "", "", "", "", &file);
But the tdms file was not displayed in C:
what cause these two problems,please help me ! thank u!