I'm still having problems burning files to any medium (see thread Initialization failure) and tracking down this problem I stumbled across unhandled exceptions when calling NeroInit. Here's the relevant part of code:
m_sNeroSettings.nstIdle.ncUserData = this;
m_sNeroSettings.nstUserDialog.ncUserData = this;
iInitError = NeroInit(&m_sNeroSettings, NULL);
m_sNeroSettings is declared as a static object:
NERO_SETTINGS CVA::m_sNeroSettings =
// directory name with trailing '\' of where to find the additional Nero DLL and text files
// path for registry settings (use "ahead", "Nero - Burning Rom" for Nero application's settings)
"Nero - Burning Rom",
// name of the Nero language file; relativ to nstNeroFilesPath (e.g. "Nero.txt")
// NERO_IDLE_CALLBACK, may be NULL
// NERO_USER_DIALOG, must not be NULL, see "NeroUserDialog.h" for details
// We do not use overburning here, because it might be unreliable.
Everything compiles fine, but when running in the debugger, it results in the following output as soon as one steps over the call of NeroInit:
Unhandled exception in VA.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
This exception occurs five times and it also occurs if running NeroCmd in the debugger. Any idea what causes this problem and how to solve it?