0
I want to make a bot for facebook using Microsoft’s Bot Framework (C#) and also use a tool called Chatscript, which is written in C++.
I turned chatscript into a DLL and called it in a console application in C#, which worked.
When I try to do the same thing in a bot framework project, I get System.Stackoverflow when I call the DLL. Which may be?
Note: chatscript.dll is inside the bin folder along with the Application.dll Bot generated by the project.
public static int InitSystem(int argc, SWIGTYPE_p_p_char argv, string unchangedPath, string readonlyPath, string writablePath) {
int ret = ChatScriptPINVOKE.InitSystem__SWIG_0(argc, SWIGTYPE_p_p_char.getCPtr(argv), unchangedPath, readonlyPath, writablePath);
return ret; }
[global::System.Runtime.InteropServices.DllImport("chatscript.dll", EntryPoint="CSharp_ChatScript_InitSystem__SWIG_0")]
public static extern int InitSystem__SWIG_0(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, string jarg5);
It would be quite useful to include the stacktrace of the exception...
– Minelli
By the way, you can try the Rivescript, that has an interpreter made in C#
– Minelli