[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Help-glpk] Calling GLPK from VB scripts
From: |
Gottfried Lindner |
Subject: |
RE: [Help-glpk] Calling GLPK from VB scripts |
Date: |
Tue, 24 May 2005 08:54:07 +0200 |
Hello,
perhaps your DLL has a bug or the Declare ... As Object is not correct.
We offer a working DLL for download at the page
http://www.informatikfuchs.de/Software/GLPK/glpkVB.htm
but this page is in German.
Regards
Gottfried Lindner
Mail: address@hidden
Besuchen Sie unsere Domain: www.softwarefuchs.de
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of address@hidden
Sent: Dienstag, 24. Mai 2005 04:12
To: address@hidden
Subject: [Help-glpk] Calling GLPK from VB scripts
I am having difficulty calling glp_lpx_create_prob in the glpk48.dll
from a VB script. (I have no choice but to use VB script So I won't
waste time and space explaining why). The following fragment hopefully
will be clear
' ======
Declare Function glp_lpx_create_prob Lib "glpk48.dll () As Object
Sub Main
Dim lp_prob As Object
...
Set lp_prob = glp_lpx_create_prob()
....
End Sub
' =======
The script dies at the "Set" point.
I have also tried the Declare and Dim as type LPX but this does not work
either.
Hopefully someone can put me on the right track.
Max.
_______________________________________________
Help-glpk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-glpk