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, cats, 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#