[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Visual Basic
From: |
Philip Warner |
Subject: |
Re: [Help-glpk] Visual Basic |
Date: |
Thu, 10 Jun 2004 12:09:15 +1000 |
At 01:00 AM 10/06/2004, address@hidden wrote:
What I want to know is
if is it possible to run glpk from a Visual Basic Program
Yes. I build it as a DLL then make appropriate declarations in VB. Works
fine, but the default DLL has the wrong calling standard (CDECL), which VB
cannon cope with. You need to change w32v6d.mak to include a '/Gz' in the
CFLAGS declaration, then rebuild.
Anyone know why cdecl seems to be used so often in DLLs? Is it better? Or
just more convenient/usual?
Hope this helps,
Philip Warner