Hi,
 
I keep trying to use GSL's dlls with VB6. I'm declaring some test functions like this
 
Public Declare Function gsl_acosh Lib "libgsl.dll" (ByVal x As Double)
 
but it gives the error: "Bad DLL calling convention" ( error 49 ) when I call it like
 
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 finds the function, but it doesn't work.
 
Kind regards,
 
Rui Miguel Fernandes
Porto - Portugal
 
 

Reply via email to