// Constructor public MainWindow() { InitializeComponent(); DataContext = this; FolderPath.Text = "Enter folder path here"; guiUpdateDelegate = new GuiUpdateDelegate(GetDataAndGuiUpdate); _this = CreateCore(guiUpdateDelegate); }
private static extern IntPtr CreateCore([MarshalAs(UnmanagedType.FunctionPtr)] GuiUpdateDelegate guiDelegate);