[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: unable to call method from glpk_4_45.dll]
From: |
Nigel Galloway |
Subject: |
Re: [Help-glpk] [Fwd: unable to call method from glpk_4_45.dll] |
Date: |
Tue, 28 Jun 2011 04:06:18 -0700 |
In the case that you have compiled glpk with Visual C++ you will have
created a dll and a .lib file. The easiest (normal) way to the use this
in a C# project is to make the C++ glpk project a dependancy for the C#
project and include the .lib file.
--
Nigel Galloway
address@hidden
On Sat, 25 Jun 2011 10:01 +0400, "Andrew Makhorin" <address@hidden> wrote:
> > Can anyone help me how to call glpk_4_45.dll
> >
> > I could build this dll using Build_GLPK_with_VC9_DLL.BAT available in win32
> > folder.
> > I am not able to register this dll using regsvr32
> >
> > I want to use the methos/funtions of glpk in C# using visual studio 8.
> >
>
> I'm not sure about C#, but I think you don't need to register the glpk
> dll; as a rule, it is sufficient to have the dll in the same directory
> where the executable is placed or in a directory specified by the PATH
> environment variable.
>
> See also http://en.wikibooks.org/wiki/GLPK/C-Sharp .
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk
>
--
http://www.fastmail.fm - Email service worth paying for. Try it for free