Dear Curtis, your mail had to be forwarded manually because you are not subscribed to the GLPK help list. See https://lists.gnu.org/mailman/listinfo/help-glpk
For building and running your own application you will need the following files from the w64 or the w32 directory depending on the bitness of your application: - glpk_4_60.dll - the GLPK native library - libglpk_cli_native.dll - the GLPK for C#/CLI native library - libglpk_cli.dll - the GLPK for C#/CLI assembly There is no symbol GLPKINVOKE in GLPK for C#/CLI. Do you mean GLPKPINVOKE? For further analysis the whole console output is needed. Best regards Heinrich Schuchardt On 12/28/2016 07:59 PM, Andrew Makhorin wrote: > -------- Forwarded Message -------- > To: [email protected] <[email protected]> > Subject: C Sharp API Exception > Date: Wed, 28 Dec 2016 17:15:46 +0000 > > Hello, > > I have downloaded the GLPK version 4.60 with the Java and C Sharp dll’s > included. I can successfully import the libglpk-cli.dll into the > Microsoft Visual Studio 15, where the intellisense picks up on the > classes and methods. > > Whenever I try to run the following code I get an exception. > > glp_prob lp; > > lp = GLPK.glp_create_prob (); > > The type initializer for org.gnu.glpk.GLPKINVOKE threw an exception. > > I am following the lp.cs example in the download, but I cannot seem to > get past these first steps. > > Any help would be greatly appreciated. J > > Thanks for all of your hard work, > > Curtis Passorelli _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
