Skip to content

Instantly share code, notes, and snippets.

using System;
using Microsoft.Office.Interop.Word;
using RGiesecke.DllExport; //For DllExport
using System.Runtime.InteropServices; //For CallingConvention
namespace Parser
{
class DocumentParser
import std.stdio;
import std.array;
import std.string;
import WordFileParser;
void main() {
writeln("Hello World.");
testLib();
}
import std.stdio;
import std.string;
pragma(lib, "Parser2");
extern (C) static string[] getDocumentText(const char* doc);
extern (C) public void testLib();