Menu

Access Violation

Help
2004-03-06
2004-09-06
  • Sven Kasemann

    Sven Kasemann - 2004-03-06

    Hello,

    i downloaded the last version.
    Nero 5.5.10.35

    I want to burn iso cd and insert media.
    Drag one file into the left listbox.
    If i want to burn i get access violation.

    Compiler D7 Prof.

    Thanks

    Sven

     
    • Alexandre Rocha Lima e Marcondes

      I still does not have a solution to this problem. If you happen to solve it, I would be glad to receive a patch by mail or through the site. Meanwhile I will me working on it, when I get a solution, I will notify you.

       
      • Livio Gagliardi

        Livio Gagliardi - 2004-07-20

        I have the same problem with D7 Pro (recompiling with D6 doesn't solve anything ...).
        Debugging my application I have find that after assigning parameters to NeroWriteCD all dialogs (ShowMessage, MessageDlg, etc ..) raise an AV.
        This seems to be a memory error, and substuting Borland MM with another memory manager the problem is solved. However I can't burn my CD, because i get an "Initialization failed" (err. 2) when starting burn process ....
        Any suggestion ?
        Thanks in advance.
        Best regards.
        Livio.

         
        • Alexandre Rocha Lima e Marcondes

          DelphiNeroAPI version 0.42a seems to correct this bug. Try it out and please give some reply if the solution is Om ...

           
          • Livio Gagliardi

            Livio Gagliardi - 2004-09-06

            Yes, with 0.42a this problem is solved.

            Now I can execute my application without AV, but I can't burn my CD because after showing "Reading directories", "Creating directories", "Checking discs" CD is ejected, but nothing was writed on it ..

            Thanks and best regards
            Livio

             
    • Miglinszki Peter

      I just downloaded the source, and did not understood it yet, so I'm not sure that this is correct but...

      In MainForm.pas somwhere around line 1121 it says:

                  if Assigned(NeroWriteCD) then
                    ReallocMem(NeroWriteCD, SizeOf(NeroWriteCD))
                  else
                    NeroWriteCD :=AllocMem(SizeOf(NERO_WRITE_CD));

      I think it should be:

                  if Assigned(NeroWriteCD) then
                    ReallocMem(NeroWriteCD, SizeOf(NERO_WRITE_CD))
                  else
                    NeroWriteCD :=AllocMem(SizeOf(NERO_WRITE_CD));

      becouse NeroWriteCD is a pointer (  size = 4 bytes) and NERO_WRITE_CD is  a record with size somewhat above 900 bytes, so I supose that in original code realoc will produce some strange effects.

      There are a few similar memory reallocations. I tried to change them but  it still doesn't helps.

       
      • Alexandre Rocha Lima e Marcondes

        Yes, you are right ... I changed the code and added some credtis for you ...

        Thanks

         
    • Miglinszki Peter

      I've tought that NeroApi is available since Nero 6.0...

      If not, pls. tell me from wich version ?

      Regards

       
      • Alexandre Rocha Lima e Marcondes

        NeroAPI version 1.02 (which was the first NeroAPI version supported by this project) is avaible since Nero 5.0.3.9, but 5.5.x.x has most of the features that it implements while 5.0.x.x has just some of the features implemented.

        There are some features that are supported only by Nero 6.x.x.x and above ...

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.