[mono-vb] vbnc and external dll

Matteo Lanati matteo.lanati at eucentre.it
Mon Jan 5 05:28:18 EST 2009


I'm trying to run vb8 code under Linux originally developed with Visual
Studio Express 2008. I'm using the most recent Mono 2.0 version
available in Debian testing repositories and the latest vbnc from SVN
(122295). The problem is that I have to use Fortran functions made
available by a dll library. The declaration of the function

Public Declare Sub ProdottoMMfor Lib "matrixfor.dll" (ByRef N As
Integer, ByRef M As Integer, ByRef L As Integer, ByRef A As Double,
ByRef B As Double, ByRef c As Double)

is ok, but when I insert the code to use ProdottoMMfor function, vbnc
complains that "You've encountered something in the compiler which is
not implemented. Please file a bug ... "
Is there a solution to my problem or a workaround to use functions from
a shared library? I have the source code of the dll, I can recompile it
Any suggestion is appreciated.


More information about the Mono-vb mailing list