help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] GSL and VB6


From: Rui Fernandes
Subject: [Help-gsl] GSL and VB6
Date: Sat, 25 Jun 2005 20:14:21 +0100

Hi,

I'm trying to use GSL's dlls with Visual Basic 6.0. I'm declaring some test 
functions like this

Public Declare Function gsl_acosh Lib "libgsl.dll" (ByVal x As Double)

but I get the error "Bad DLL calling convention" ( error 49 ) when I call it 
like, for example

Dim a As Double
a = gsl_acosh(0.2)

Does anyone knows what is wrong here? The debug gives the error on the 
"a=gsl_...". It seems to find the function, but it doesn't work.

Please answer as soon as possible.

Kind regards,

Rui Miguel Fernandes
Porto - Portugal



reply via email to

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