[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


perhaps your DLL has a bug or the Declare ... As Object is not correct.

We offer a working DLL for download at the page
but this page is in German.

Gottfried Lindner
Mail: address@hidden
Besuchen Sie unsere Domain: 

-----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

Hopefully someone can put me on the right track.


Help-glpk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]