VS2008 C# error ".ctor' not supported by language
- by Jim Jones
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#