//declare string Invoke1 in (addbs(justpath(.cProgramPath)) + "ww_local.dll") as ww_localInvoke string cInvokeString [DllImport(@"C:\Program Files (x86)\Siriusware\Pool\ww_local.dll", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)] static extern String Invoke1([MarshalAs(UnmanagedType.LPTStr)] String str);And then in the C# code I try to do
translate = Invoke1(invoke);and then the C# test stops and I see a dmp file generated.