title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Scripting in Visual C++ 6 : BindDefault() unknow function

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

    Scripting in Visual C++ 6 : BindDefault() unknow function

    I’ve used the converter in Sybase’s powerbuilder 6.5 and it works fine, and now I’m trying to use it Visual Studio 6. Unfortunately, the documentation in visual C ( or in Borland C) in not big !
    My problem is that Visual C does not understand the BindDefault() function.
    Here is a portion of code that I use, but nothing happens :

    IConverter Converter; // Create Converter Object
    IWaveSettings WaveSettings;

    //Converter.BindDefault(); // Bind to Object
    Converter.abc();
    CString s;

    s = GetTreeFullPath(m_Tree.m_tree.GetCurrentItem());

    Converter.AddFromFile(s);
    Converter.SetToFolder("C:\\temp");
    Converter.GoConversion("Wave",FALSE,TRUE,TRUE,FALS E);


    Doctor, what should I do ?
  • Unregistered

    #2
    I found !

    I have to use :

    Converter.CreateDispatch("dMCScripting.Converter") ;

    Hope it will help someone ...

    Comment

    Working...

    ]]>