public void GetVersionCharPtr() { IntPtr intPtr = DLLImports.GetVersionCharPtr(); DisplayText = "GetVersionCharPtr() returned \"" + System.Runtime.InteropServices.Marshal.PtrToStringAnsi(intPtr) + "\""; }