title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Conversion Problem Found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rpoole1969

    • Jul 2005
    • 1

    Conversion Problem Found

    I am using the DMCSCRIPTINGLib in Visual Basic under windows 2000 Server. The problem I have run into is if for reason when I issue the following instructions, and the file can not be opened then the DMCSCRIPTINGLib actually deletes the file. I am providing the exact code and how to reproduce this issue.

    Dim dmc As New DMCSCRIPTINGLib.Converter, wavsettings As New DMCSCRIPTINGLib.WaveSettings

    wavsettings.Set 24000, 1, 16
    dmc.VolumeNormalize = True
    dmc.PreserveTags = False
    dmc.DeleteSourceFiles = False
    dmc.ConvertToFolder = False
    dmc.AddFromToFiles "C:\myAudio.wav", "C:\myNewAudio"
    dmc.GoConversion "Wave", 1, 1, 1, 0

    Now place a wav file at this location and in windows explorer highlight it, then issue the above code. You will get an error from the engine stating it can not access the file and then refresh your directory. The file has been deleted.

    Regards,

    Randy Poole
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: Conversion Problem Found

    That contradicts its self, ie:

    dMC reports it cannot access the input file (cannot read from it) because Windows explorer has it open (only win2000),
    So dMC deletes it - if it couldn't access it then it couldn't delete it?
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>