title
Products            Buy            Support Forum            Professional            About            Codec Central
 

WasConvError throws an exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matt Warner
    • Mar 2004
    • 1

    WasConvError throws an exception

    Hi guys,

    I have the following code in C#

    dMC.GoConversion("MP3 (Lame)", 1, 1, 1, 1);

    if (dMC.WasConvError != 0)
    {
    // blah blah...
    }

    which works fine most of the time. But now and then it throws an exception calling dMC.WasConvError. The message is 'The object invoked has diconnected from its clients'.

    It always seems to have converted correctly. Is there any way I can delay the cleanup of the dMC object long enoug hto get this info.

    Or does anyone know if the cleanup only takes place if there were no errors (so I can catch the exception and ignore it)

    Cheers,
    Matt.
  • Spoon
    Administrator
    • Apr 2002
    • 44099

    #2
    Re: WasConvError throws an exception

    It will be c# that is disconnecting AFAIK, you could always try a little VB script to be sure.
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>