NeroAPI does not call NeroUserDialog-Callback

vbimport

#1

Hi There!
I’m having a bit trouble creating a VCD/SVCD/DVD-Writer (C++):
It seems like the NeroUserDialog-Callback is not always called - that is: I get DLG_WAITCD_DONE when no Disc is in drive, but that’s all.
As I understand it, I should at first get GLD_WAITCD - or am I wrong here?
Any idea, anyone?

Greets,
obsÿence

Some source code:

(Nero initialization)

    m_settings.nstNeroFilesPath=NULL;
    m_settings.nstVendor="nero";
    m_settings.nstSoftware="Nero - Burning Rom";
    m_settings.nstLanguageFile="Nero.txt";
    m_settings.nstEnableOverburn=FALSE;
    m_settings.nstOverburnSize=0;
    m_settings.nstIdle.ncCallbackFunction=DefIdleCallback;
    m_settings.nstIdle.ncUserData=this;
    m_settings.nstUserDialog.ncCallbackFunction=DefUserDialog;
    m_settings.nstUserDialog.ncUserData=this;
    initErr = NeroInit(&m_settings, NULL);

(DefUserDialog)

NeroUserDlgInOut NERO_CALLBACK_ATTR DefUserDialog(void *pUserData, NeroUserDlgInOut type, void *data)
{
	return m_PCallback.UserDialog(pUserData, type, data);
}