This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Microsoft.Office.Interop.Word; | |
using RGiesecke.DllExport; //For DllExport | |
using System.Runtime.InteropServices; //For CallingConvention | |
namespace Parser | |
{ | |
class DocumentParser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.stdio; | |
import std.array; | |
import std.string; | |
import WordFileParser; | |
void main() { | |
writeln("Hello World."); | |
testLib(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.stdio; | |
import std.string; | |
pragma(lib, "Parser2"); | |
extern (C) static string[] getDocumentText(const char* doc); | |
extern (C) public void testLib(); |