Hi,
I'm using VBA with C++ DLL (MFC-based) wrapper around NeroAPI.dll. And has the problem just of NeroAPI initializing: NeroInit() always return me NEROAPI_INIT_INVALID_ARGS.
Here is the NeroSettings parameter of NeroInit(), I use:
#define DUMMY_USER_DATA &NeroSettings
NeroSettings.nstNeroFilesPath = "C:\\Program Files\\Ahead\\";
NeroSettings.nstVendor = "ahead";
NeroSettings.nstSoftware = "Nero - Burning Rom";
NeroSettings.nstLanguageFile = "Nero.txt";
NeroSettings.nstEnableOverburn = FALSE;
NeroSettings.nstOverburnSize = 0;
NeroSettings.nstIdle.ncCallbackFunction = NULL;
NeroSettings.nstIdle.ncUserData = 0;
NeroSettings.nstUserDialog.ncCallbackFunction = UserDialog;
NeroSettings.nstUserDialog.ncUserData = DUMMY_USER_DATA;
Then:
NEROAPI_INIT_ERROR RetVal = NeroInit(&NeroSettings, NULL);
And RetVal immediatly is NEROAPI_INIT_INVALID_ARGS. What could be the problem?
Samples compiling and running without problems - I've took NeroSettings parameters from there... and callback functions too.
Thanks.
fortnum@mail.ru