ralf
04-15-2010, 02:33 PM
Hi,
what am I missing, or what am I doing wrong with my project? I take this trivial code
function VBTest ()
implicit none
CHARACTER*100, dll_export:: VBTest
VBTest = 'foobar'
end function VBTest
in Lahey 7.1 compiler within Visual Studio 2003. command line addition is
-win -dll -ml msvb
Now when I try to add the dll in another Visual Studio 2008 Visual Basic project as a reference, a message arises which claims that this dll is no valid assembly or COM component. What am I doing wrong? Are there other ways to use this Fortran dll?
Thanks in advance.
what am I missing, or what am I doing wrong with my project? I take this trivial code
function VBTest ()
implicit none
CHARACTER*100, dll_export:: VBTest
VBTest = 'foobar'
end function VBTest
in Lahey 7.1 compiler within Visual Studio 2003. command line addition is
-win -dll -ml msvb
Now when I try to add the dll in another Visual Studio 2008 Visual Basic project as a reference, a message arises which claims that this dll is no valid assembly or COM component. What am I doing wrong? Are there other ways to use this Fortran dll?
Thanks in advance.