In my iPad application, I need to either read a .mht file or convert the .mht file to a .html file. Am not sure whether Chilkat library helps me in reading a .mht file, but I found there is a method - (BOOL)UnpackMHT to unpack the .mht file and convert it to a .html file. I have set the directory path where the output .html file should get stored. But the problem is, when I call the - (BOOL)UnpackMHT method, there is no output .html file created in my directory. Can anyone help me out?
asked Oct 29 '14 at 09:13
Look at the contents of the LastErrorText after calling UnpackMHT. If you passed a relative path, then the output file will be relative to the current working directory of the application. Pass an absolute directory if you don't know the current working directory.
answered Oct 30 '14 at 22:35