Hi!,
I followed the tutorial on libe57.org on how to create a new file.
But when I do so, I can't open the file afterward. The problem come from the line 3889 from E57FundationImpl :
if (strncmp(header.fileSignature, "ASTM-E57", 8) != 0)
throw E57_EXCEPTION2(E57_ERROR_BAD_FILE_SIGNATURE, "fileName="+file->fileName())
If I look closely in debug mode, it seems that my header.fileSignature is nothing, while it expect "ASTM-E57".
Where can I change this value ? What is the process in order to make it good?
Thanks a lot!
Hi Raph Schim,
The header.fileSignature is set in E57FundationImpl line 3998 during the
closing of the file. The user shouldn't worry about this. So the problem
must be that the new E57 file was not closed properly. Which tutorial were
you following since there are different examples in different places in the
document area?
Stan Coleby
E57 Committee Member
stan.coleby@gmail.com
801 209-0183
On Wed, Jul 3, 2019 at 8:41 AM Raph Schim kirbx@users.sourceforge.net
wrote:
Related
Bug Reports: #51
Hi! I was out of office, sorry for the long answer.
I followed the file tutorial named "DemoWrite01" that I've found here
Thanks a lot