IDFile Mac OSX
Please find out on MAC OSX development.
The below code GetIDFile() does not work and it totally crash the XCode 5.02.
I need to know what to fix in the code so I can open the file stream, Or
There is another alternative to open the stream and read in the file.
PMString tmp("/Users/Sam/Desktop/Images/car/CarVDP.csv");
tmp.SetTranslatable(false);
SDKFileHelper fileHelper(tmp);
IDFile idfile = fileHelper.GetIDFile(); //Crash on MAC OSX
InterfacePtr<IPMStream> stream(StreamUtil::CreateFileStreamRead(idfile));
ASSERT(stream);
if (!stream) {
return inout;
}
Thanks,
Sam