VS2008 C# error ".ctor' not supported by language
        Posted  
        
            by Jim Jones
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jim Jones
        
        
        
        Published on 2010-05-04T11:30:58Z
        Indexed on 
            2010/05/04
            11:38 UTC
        
        
        Read the original article
        Hit count: 1944
        
C# code:
class Program
{
    static void Main(string[] args)
    { 
        TFWrapper tf;
        String lexDir = ".......";
        String lic = "........";
        String key = ".........";
        ArrayList cats = new ArrayList();
        Boolean useConj = false;
        String lang = "english";
        String encoding = "auto";
        tf = new TFWrapper(lexDir, lic, key, useConj, lang, encoding);
    }
}  
Managed C++ method being called:
TFWrapper::TFWrapper(String^ mlexDir, String^ mlic, String^ mkey, ArrayList catList, Boolean^ m_useConj, String^ m_lang, String^ m_encoding);  
Getting '.ctor' is not supported by the language error on the last line of C#
© Stack Overflow or respective owner