NeroAPIFree

vbimport

#1

Hi!! I’ve just registered in this forum and I hope you can help me!!

I use Nero API in my code:
when I open a dialog I do:

  • NeroAPIGlueConnect(…
  • NeroGetAPIVersionEx(…
  • NeroInit(…
  • NeroGetAvailableDrivesEx(…

and that’s ok. My problem is when I close the dialog and I do
NeroFreeMem(…

After this I do also NeroClearErrors and NeroAPIGlueDone, but on NeroFreeMem the program gives me:

Unhandled exception at 0x08327cba in myprogram.exe: 0xC0000005: Access violation reading location 0x08e25008. :a

thank you!!


#2

Probably you trying use NeroFreeMem after NeroApiGlueDone. It’s normal becouse you calling undefinied function. You should to first call NeroFreeMem and finally NeroApiGlueDone. After that you can’t use any function of neroApi except NeroApiGlueInit.


#3

Sorry
Naturally I fink about NeroApiGlueConnect…