[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Calling GLPK from VB scripts

From: address@hidden
Subject: [Help-glpk] Calling GLPK from VB scripts
Date: Tue, 24 May 2005 12:12:26 +1000

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.


reply via email to

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