Hello,
I recently encountered a problem when creating a iso 9660 level 1 mode 2 (XA) + joliet cd.
The filenames in the joliet are correct, but in the iso I have the following problem:
According to the 'strict' iso 9660 level 1 standard the filenames of files without an extension need to end with an additional '.' before the ';' character.
Can this be configured in StarBurn SDK?
I used the following code to create the CD:
Code:
VOID * pISOTree = NULL;
if ( pStarBurn_ISO9660JolietFileTree_Create( &pISOTree, m_szExceptionText, sizeof( m_szExceptionText ), &m_nSystemError, StarburnSDKCallback, this, FALSE, FALSE, FALSE, FILE_TREE_JOLIET ) != EN_SUCCESS )
{
return E_FAIL;
}
// Add the files
...
EXCEPTION_NUMBER nr = EN_FAILURE;
pNewElement = NULL;
nr = pStarBurn_ISO9660JolietFileTree_Add( pISOTree, m_szExceptionText, sizeof( m_szExceptionText ), &m_nSystemError, (char *)(const char *) szNewRecord.GetString(), NULL, FILE_TIME_LAST_WRITE, &pISORoot, &pNewElement );
if ( (nr != EN_SUCCESS) || (pNewElement == NULL) )
{
return E_FAIL;
}
// Prepare the virtual ISO image
if ( pStarBurn_ISO9660JolietFileTree_BuildImage( pISOTree, m_szExceptionText, sizeof( m_szExceptionText ), &m_nSystemError, 0, 0, TRUE, (char *)(const char *)szVolumeName,"", "" ) != EN_SUCCESS )
{
return E_FAIL;
}