400
> Von: "Meketon, Marc" <[EMAIL PROTECTED]>
> An: "glpk xypron" <[EMAIL PROTECTED]>, help-glpk@gnu.org
> Betreff: RE: RE: [Help-glpk] VBA/dll for Excel
> Xypron:
>
> Thank you for the work that you did on this. I ran out of time to test
>
PARM, addressOfCBFunc as
long)
iocp.cb_func = addressOfCBFunc
End sub
And then use
setCBFunc iocp, AddressOf MyCallBackFunction
instead of the assignment statement.
-Marc
-Original Message-
From: glpk xypron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 11:03 PM
To:
> I can understand that You want to keep the core of GLPK independent
> of operating system considerations.
> Writing a wrapper seems easy to do. Care has to be given to
> glp_term_hook because the hook function will be __stdcall. The wrapper
> will have to alloc memory to build a info structure a
10:47:18 +0300
> Von: Andrew Makhorin <[EMAIL PROTECTED]>
> An: "glpk xypron" <[EMAIL PROTECTED]>
> CC: "Meketon, Marc" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], help-glpk@gnu.org
> Betreff: Re: [Help-glpk] VBA/dll for Excel
> > the
> the problem is due to GLPK being compiled with __cdecl calling
> convention instead of __stdcall calling convention.
> References:
> http://www.geocities.com/yongweiwu/stdcall.htm
> http://msdn2.microsoft.com/en-us/library/zxk0tw93.aspx
> I have recompiled the DLL with compiler switch /Gz
> Mak
Call glp_delete_prob(lp)
End Sub
Original-Nachricht
> Datum: Tue, 18 Mar 2008 12:49:35 -0400
> Von: "Meketon, Marc" <[EMAIL PROTECTED]>
> An: help-glpk@gnu.org
> CC: "Xypron" <[EMAIL PROTECTED]>
> Betreff: RE: [Help-glpk] VBA/dll
0:04 PM
To: Meketon, Marc
Cc: help-glpk@gnu.org; [EMAIL PROTECTED]
Subject: Re: RE: [Help-glpk] VBA/dll for Excel
Hello Marc,
the problem is due to GLPK being compiled with __cdecl calling
convention instead of __stdcall calling convention.
References:
http://www.geocities.com/yongweiwu/stdcall.htm
ht
blem.
Best regards
Xypron
Original-Nachricht
> Datum: Tue, 18 Mar 2008 14:46:42 -0400
> Von: "Meketon, Marc" <[EMAIL PROTECTED]>
> An: "Xypron" <[EMAIL PROTECTED]>
> CC: help-glpk@gnu.org
> Betreff: RE: [Help-glpk] VBA/dll for
t your build with Visual Studio as opposed to mine with Turbo C++.
-Marc
-Original Message-
From: Xypron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 10:53 AM
To: Meketon, Marc
Cc: help-glpk@gnu.org
Subject: Re: [Help-glpk] VBA/dll for Excel
Hello Marc,
couldn't You use
> I produced a DLL as well by adding __stdcall __export to the right
> function calls. [BTW, I'm using the free Turbo C++ compiler from
> Borland.]
> BUT, I cannot seem to get the callback function for "glp_term_hook" to
> properly work. Before I begin to setup the problem, I use very similar
>
ypron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2008 10:53 AM
To: Meketon, Marc
Cc: help-glpk@gnu.org
Subject: Re: [Help-glpk] VBA/dll for Excel
Hello Marc,
couldn't You use the DLL produced by
w32/Build_GLPK_with_VC6_MT_DLL.bat
with Visual C++ 7.0 or 6.0?
(see ftp://glpk.dyndns.org
Hello Marc,
couldn't You use the DLL produced by
w32/Build_GLPK_with_VC6_MT_DLL.bat
with Visual C++ 7.0 or 6.0?
(see ftp://glpk.dyndns.org/glpk/glpk_4_27.dll.tar.gz)
Best regards
Xypron
Meketon, Marc wrote:
A while back there was a version of GLPK for VBA applications (such as
in Excel). Th
A while back there was a version of GLPK for VBA applications (such as
in Excel). That was based on version 10 of GLPK. Does anyone work with
GLPK in VBA with a recent version of the software? If so, can you
please provide links? It appears that the original folks (Informatik
Fuchs) do have a v
13 matches
Mail list logo